Skip to content

Commit

Permalink
http2 uses new round-robin scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
WeidiDeng authored and francislavoie committed Nov 24, 2023
1 parent 4de2c1c commit 4eb6365
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/caddyhttp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,7 @@ func (app *App) Start() error {
return context.WithValue(ctx, ConnCtxKey, c)
},
}
h2server := &http2.Server{
NewWriteScheduler: func() http2.WriteScheduler {
return http2.NewPriorityWriteScheduler(nil)
},
}
h2server := new(http2.Server)

// disable HTTP/2, which we enabled by default during provisioning
if !srv.protocol("h2") {
Expand Down

0 comments on commit 4eb6365

Please sign in to comment.