aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection_https.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection_https.c')
-rw-r--r--src/microhttpd/connection_https.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c
index 03f80b8c..2b9e9eca 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -128,9 +128,9 @@ send_tls_adapter (struct MHD_Connection *connection,
128 return MHD_ERR_NOTCONN_; 128 return MHD_ERR_NOTCONN_;
129 } 129 }
130#ifdef EPOLL_SUPPORT 130#ifdef EPOLL_SUPPORT
131 /* If NOT all available data was sent - socket is not write ready anymore. */ 131 /* Unlike non-TLS connections, do not reset "write-ready" if
132 if (i > (size_t)res) 132 * sent smaller amount than provided, as TLS connections may
133 connection->epoll_state &= ~MHD_EPOLL_STATE_WRITE_READY; 133 * break data into smaller parts for sending. */
134#endif /* EPOLL_SUPPORT */ 134#endif /* EPOLL_SUPPORT */
135 return res; 135 return res;
136} 136}