diff options
Diffstat (limited to 'src/daemon/connection_https.c')
-rw-r--r-- | src/daemon/connection_https.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/connection_https.c b/src/daemon/connection_https.c index e68ecbbe..8abb9feb 100644 --- a/src/daemon/connection_https.c +++ b/src/daemon/connection_https.c | |||
@@ -150,7 +150,7 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection) | |||
150 | MHD_DLOG (connection->daemon, "%s: state: %s\n", | 150 | MHD_DLOG (connection->daemon, "%s: state: %s\n", |
151 | __FUNCTION__, MHD_state_to_string (connection->state)); | 151 | __FUNCTION__, MHD_state_to_string (connection->state)); |
152 | #endif | 152 | #endif |
153 | timeout = connection->daemon->connection_timeout; | 153 | timeout = connection->connection_timeout; |
154 | if ( (timeout != 0) && (time (NULL) - timeout > connection->last_activity)) | 154 | if ( (timeout != 0) && (time (NULL) - timeout > connection->last_activity)) |
155 | MHD_connection_close (connection, | 155 | MHD_connection_close (connection, |
156 | MHD_REQUEST_TERMINATED_TIMEOUT_REACHED); | 156 | MHD_REQUEST_TERMINATED_TIMEOUT_REACHED); |