commit | 9581fe11cca4683d2bb2b8304f01cbda9d308bd0 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <brad@danga.com> | Fri Nov 28 13:51:46 2014 -0800 |
committer | Brad Fitzpatrick <brad@danga.com> | Fri Nov 28 13:51:46 2014 -0800 |
tree | 9a6ddb97b944cd53a34a432419edfd1a59b074f2 | |
parent | f16a0b35be5fda9bc092ff622ed3ffa725ad543c [diff] |
Increase prefaceTimeout. I actually hit this myself.
diff --git a/server.go b/server.go index 27cb220..074cb03 100644 --- a/server.go +++ b/server.go
@@ -27,7 +27,7 @@ ) 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