diff options
Diffstat (limited to 'src/microhttpd/connection_https.c')
-rw-r--r-- | src/microhttpd/connection_https.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c index 3dca50e5..d71a31c8 100644 --- a/src/microhttpd/connection_https.c +++ b/src/microhttpd/connection_https.c | |||
@@ -140,6 +140,8 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection) | |||
140 | __FUNCTION__, | 140 | __FUNCTION__, |
141 | MHD_state_to_string (connection->state)); | 141 | MHD_state_to_string (connection->state)); |
142 | #endif | 142 | #endif |
143 | if (connection->suspended) | ||
144 | return MHD_connection_handle_idle (connection); | ||
143 | timeout = connection->connection_timeout; | 145 | timeout = connection->connection_timeout; |
144 | if ( (timeout != 0) && | 146 | if ( (timeout != 0) && |
145 | (timeout <= (MHD_monotonic_sec_counter() - connection->last_activity))) | 147 | (timeout <= (MHD_monotonic_sec_counter() - connection->last_activity))) |