Default to no keep-alive if unset
For consistency with other optional flags. Updates #20
This commit is contained in:
parent
9594bbc765
commit
66864da51b
@ -46,8 +46,6 @@ struct CoreConfiguration {
|
||||
|
||||
static let tickInterval = 0.2
|
||||
|
||||
static let pingInterval = 10.0
|
||||
|
||||
static let pingTimeout = 120.0
|
||||
|
||||
static let retransmissionLimit = 0.1
|
||||
|
@ -152,7 +152,7 @@ extension SessionProxy {
|
||||
clientCertificatePath = nil
|
||||
clientKeyPath = nil
|
||||
compressionFraming = .disabled
|
||||
keepAliveInterval = CoreConfiguration.pingInterval
|
||||
keepAliveInterval = nil
|
||||
renegotiatesAfter = nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user