|
|
@@ -2229,7 +2229,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
|
|
|
timeout = connection->daemon->connection_timeout;
|
|
|
if ((connection->socket_fd != -1) &&
|
|
|
(timeout != 0) &&
|
|
|
- (timeout > (time (NULL) - connection->last_activity)) )
|
|
|
+ (timeout < (time (NULL) - connection->last_activity)) )
|
|
|
{
|
|
|
MHD_connection_close (connection, MHD_REQUEST_TERMINATED_TIMEOUT_REACHED);
|
|
|
return MHD_NO;
|