negotiate idle connection state lifetime

work towards #20
This commit is contained in:
Marten Seemann
2016-05-14 16:48:19 +07:00
parent 43621c9c25
commit 16bd559d9a
6 changed files with 82 additions and 24 deletions

View File

@@ -31,3 +31,7 @@ const ReceiveStreamFlowControlWindow ByteCount = (1 << 20) // 1 MB
// ReceiveConnectionFlowControlWindow is the stream-level flow control window for receiving data
// TODO: set a reasonable value here
const ReceiveConnectionFlowControlWindow ByteCount = (1 << 20) // 1 MB
// MaxIdleConnectionStateLifetime is the maximum value we accept for the idle connection state lifetime
// TODO: set a reasonable value here
const MaxIdleConnectionStateLifetime = 60 * time.Second