aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/microhttpd/mhd_send.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 36d8afa7..cc9fcf5b 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -348,6 +348,13 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
348 const char *buffer, 348 const char *buffer,
349 size_t buffer_size) 349 size_t buffer_size)
350{ 350{
351#ifdef HTTPS_SUPPORT
352 if (0 != (connection->daemon->options & MHD_USE_TLS))
353 return MHD_send_on_connection_ (connection,
354 header,
355 header_size,
356 MHD_SSO_HDR_CORK);
357#endif
351#if defined(HAVE_SENDMSG) || defined(HAVE_WRITEV) 358#if defined(HAVE_SENDMSG) || defined(HAVE_WRITEV)
352 MHD_socket s = connection->socket_fd; 359 MHD_socket s = connection->socket_fd;
353 ssize_t ret; 360 ssize_t ret;