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

@@ -1,5 +1,7 @@
package protocol
import "time"
// A PacketNumber in QUIC
type PacketNumber uint64
@@ -46,3 +48,6 @@ const InitialStreamFlowControlWindow ByteCount = (1 << 14) // 16 kB
// InitialConnectionFlowControlWindow is the initial connection-level flow control window for sending
const InitialConnectionFlowControlWindow ByteCount = (1 << 14) // 16 kB
// InitialIdleConnectionStateLifetime is the initial idle connection state lifetime
const InitialIdleConnectionStateLifetime = 30 * time.Second