Commit Graph

1 Commits (595b5974d7fcb7ee415e8e4ce6ec182a07bc9dc1)

Author SHA1 Message Date
Ben Noordhuis 5b65638124 tls, https: add tls handshake timeout
Don't allow connections to stall indefinitely if the SSL/TLS handshake does
not complete.

Adds a new tls.Server and https.Server configuration option, handshakeTimeout.

Fixes #4355.
2012-12-06 17:39:24 +01:00