@marcel91200 / caddy Mirror · read-only / commits / 22eecdb9
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 12, 20:45 UTC

http2 uses new round-robin scheduler (#5946)

WeidiDeng committed Nov 24, 2023 at 09:54 UTC 22eecdb90c879ac3a5e3f846a3c4c9a2007c7562
1 file changed +1 -5
modules/caddyhttp/app.go
+1 -5
@@ -378,11 +378,7 @@ func (app *App) Start() error {
378 return context.WithValue(ctx, ConnCtxKey, c)
379 },
380 }
381 - h2server := &http2.Server{
382 - NewWriteScheduler: func() http2.WriteScheduler {
383 - return http2.NewPriorityWriteScheduler(nil)
384 - },
385 - }
381 + h2server := new(http2.Server)
382
383 // disable HTTP/2, which we enabled by default during provisioning
384 if !srv.protocol("h2") {