From 146dccce9e8bcad98fda437a271446b1a96124c7 Mon Sep 17 00:00:00 2001 From: chenk008 Date: Fri, 22 Nov 2024 19:47:30 +0800 Subject: [PATCH] Update writesched.go comments WriteScheduler.Push is always be called when send write request --- http2/writesched.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http2/writesched.go b/http2/writesched.go index cc893adc2..6094000bf 100644 --- a/http2/writesched.go +++ b/http2/writesched.go @@ -25,7 +25,7 @@ type WriteScheduler interface { // https://tools.ietf.org/html/rfc7540#section-5.1 AdjustStream(streamID uint32, priority PriorityParam) - // Push queues a frame in the scheduler. In most cases, this will not be + // Push queues a frame in the scheduler. In most cases, this will be // called with wr.StreamID()!=0 unless that stream is currently open. The one // exception is RST_STREAM frames, which may be sent on idle or closed streams. Push(wr FrameWriteRequest)