fixing 1811

This commit is contained in:
Christian Grothoff
2011-09-30 15:57:34 +00:00
parent fe7ed03a63
commit 65f549493a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
Fri Sep 30 17:56:36 CEST 2011
Fixed MHD_CONNECTION_OPTION_TIMEOUT for HTTPS (#1811). -CG
Wed Sep 28 08:37:55 CEST 2011
Releasing libmicrohttpd 0.9.15. -CG
+1 -1
View File
@@ -150,7 +150,7 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
MHD_DLOG (connection->daemon, "%s: state: %s\n",
__FUNCTION__, MHD_state_to_string (connection->state));
#endif
timeout = connection->daemon->connection_timeout;
timeout = connection->connection_timeout;
if ( (timeout != 0) && (time (NULL) - timeout > connection->last_activity))
MHD_connection_close (connection,
MHD_REQUEST_TERMINATED_TIMEOUT_REACHED);