Merge pull request #18 from keeshux/interpret-zero-reneg-seconds
Interpret 0 reneg seconds as never
This commit is contained in:
commit
7898b940a1
|
@ -704,7 +704,7 @@ public class SessionProxy {
|
|||
}
|
||||
|
||||
private func maybeRenegotiate() {
|
||||
guard let renegotiatesAfter = configuration.renegotiatesAfter else {
|
||||
guard let renegotiatesAfter = configuration.renegotiatesAfter, renegotiatesAfter > 0 else {
|
||||
return
|
||||
}
|
||||
guard (negotiationKeyIdx == currentKeyIdx) else {
|
||||
|
|
Loading…
Reference in New Issue