Explorar el Código

Increase prefaceTimeout. I actually hit this myself.

Brad Fitzpatrick hace 11 años
padre
commit
9581fe11cc
Se han modificado 1 ficheros con 1 adiciones y 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