Browse Source

Increase prefaceTimeout. I actually hit this myself.

Brad Fitzpatrick 11 years ago
parent
commit
9581fe11cc
1 changed files with 1 additions and 1 deletions
  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