Commit d8bd24be authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

http2: fix RFC number typo in comment

Fix by Martin Garton in https://golang.org/cl/43370

Change-Id: I5933b136ff667c0f67ec8ebffb52d6f1235232b3
Reviewed-on: https://go-review.googlesource.com/44030Reviewed-by: 's avatarMatt Layher <mdlayher@gmail.com>
parent a8e8f92c
...@@ -53,7 +53,7 @@ type PriorityWriteSchedulerConfig struct { ...@@ -53,7 +53,7 @@ type PriorityWriteSchedulerConfig struct {
} }
// NewPriorityWriteScheduler constructs a WriteScheduler that schedules // NewPriorityWriteScheduler constructs a WriteScheduler that schedules
// frames by following HTTP/2 priorities as described in RFC 7340 Section 5.3. // frames by following HTTP/2 priorities as described in RFC 7540 Section 5.3.
// If cfg is nil, default options are used. // If cfg is nil, default options are used.
func NewPriorityWriteScheduler(cfg *PriorityWriteSchedulerConfig) WriteScheduler { func NewPriorityWriteScheduler(cfg *PriorityWriteSchedulerConfig) WriteScheduler {
if cfg == nil { if cfg == nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment