commit a84bbb326e534aee1b7d5c56e9f6bc643cc334ba parent c6904f7c4d8c67a132c5d92c3f78220895a37b23 Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 11 May 2009 19:00:23 +0000 signal timeout, not error, on timeout Diffstat:
| M | src/daemon/connection.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/connection.c b/src/daemon/connection.c @@ -2102,7 +2102,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) if ((connection->socket_fd != -1) && (timeout != 0) && (time (NULL) - timeout > connection->last_activity)) { - connection_close_error (connection); + MHD_connection_close (connection, MHD_REQUEST_TERMINATED_TIMEOUT_REACHED); return MHD_NO; } return MHD_YES;