diff options
Diffstat (limited to 'src/microhttpd/connection_https.c')
-rw-r--r-- | src/microhttpd/connection_https.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c index 2c5e2588..fe197f1d 100644 --- a/src/microhttpd/connection_https.c +++ b/src/microhttpd/connection_https.c | |||
@@ -155,7 +155,7 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection) | |||
155 | } | 155 | } |
156 | timeout = connection->connection_timeout; | 156 | timeout = connection->connection_timeout; |
157 | if ( (timeout != 0) && | 157 | if ( (timeout != 0) && |
158 | (timeout <= (MHD_monotonic_sec_counter() - connection->last_activity))) | 158 | (timeout < (MHD_monotonic_sec_counter() - connection->last_activity))) |
159 | MHD_connection_close_ (connection, | 159 | MHD_connection_close_ (connection, |
160 | MHD_REQUEST_TERMINATED_TIMEOUT_REACHED); | 160 | MHD_REQUEST_TERMINATED_TIMEOUT_REACHED); |
161 | #ifdef EPOLL_SUPPORT | 161 | #ifdef EPOLL_SUPPORT |