Explorar o código

Increase prefaceTimeout. I actually hit this myself.

Brad Fitzpatrick %!s(int64=11) %!d(string=hai) anos
pai
achega
9581fe11cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server.go

+ 1 - 1
server.go

@@ -27,7 +27,7 @@ import (
 )
 
 const (
-	prefaceTimeout        = 5 * time.Second
+	prefaceTimeout        = 10 * time.Second
 	firstSettingsTimeout  = 2 * time.Second // should be in-flight with preface anyway
 	handlerChunkWriteSize = 4 << 10
 	defaultMaxStreams     = 250