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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c
index b0be3ced..0b764eb7 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -131,6 +131,7 @@ MHD_tls_connection_handle_write (struct MHD_Connection *connection)
131static int 131static int
132MHD_tls_connection_handle_idle (struct MHD_Connection *connection) 132MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
133{ 133{
134 struct MHD_Daemon *daemon = connection->daemon;
134 unsigned int timeout; 135 unsigned int timeout;
135 136
136#if DEBUG_STATES 137#if DEBUG_STATES
@@ -145,7 +146,7 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
145 { 146 {
146 /* on newly created connections we might reach here before any reply has been received */ 147 /* on newly created connections we might reach here before any reply has been received */
147 case MHD_TLS_CONNECTION_INIT: 148 case MHD_TLS_CONNECTION_INIT:
148 return MHD_YES; 149 break;
149 /* close connection if necessary */ 150 /* close connection if necessary */
150 case MHD_CONNECTION_CLOSED: 151 case MHD_CONNECTION_CLOSED:
151 gnutls_bye (connection->tls_session, GNUTLS_SHUT_RDWR); 152 gnutls_bye (connection->tls_session, GNUTLS_SHUT_RDWR);
@@ -156,7 +157,7 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
156 return MHD_YES; 157 return MHD_YES;
157 return MHD_connection_handle_idle (connection); 158 return MHD_connection_handle_idle (connection);
158 } 159 }
159 return MHD_YES; 160 return MHD_connection_epoll_update_ (connection);
160} 161}
161 162
162 163