We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d491e commit 3ed6604Copy full SHA for 3ed6604
cdk/foundation/connection_openssl.cc
@@ -273,12 +273,7 @@ class connection_TLS_impl
273
if (m_tls)
274
{
275
/*
276
- THE SSL standard says that SSL sockets must send and receive a close_notify
277
- alert on socket shutdown to avoid truncation attacks. However, this can
278
- cause problems since we often hold a lock during shutdown and this IO can
279
- take an unbounded amount of time to complete. Since our packets are self
280
- describing with length, we aren't vunerable to these attacks. Therefore,
281
- we just shutdown by closing the socket (quiet shutdown).
+ Server is expecting a SSL quiet shutdown.
282
*/
283
SSL_set_quiet_shutdown(m_tls, 1);
284
SSL_shutdown(m_tls);
0 commit comments