forked from quic-go/quic-go
Merge pull request #3120 from lucas-clemente/fix-handshake-idle-timeout
fix calculation of the handshake idle timeout
This commit is contained in:
@@ -2158,6 +2158,7 @@ var _ = Describe("Session", func() {
|
||||
})
|
||||
|
||||
It("doesn't send a PING if the handshake isn't completed yet", func() {
|
||||
sess.config.HandshakeIdleTimeout = time.Hour
|
||||
sess.handshakeComplete = false
|
||||
// Needs to be shorter than our idle timeout.
|
||||
// Otherwise we'll try to send a CONNECTION_CLOSE.
|
||||
|
||||
Reference in New Issue
Block a user