View Issue Details

IDProjectCategoryView StatusLast Update
0002802libmicrohttpdHTTPS (TLS)public2021-09-02 15:54
Reportergreed Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.24 
Target Version0.9.26Fixed in Version0.9.26 
Summary0002802: Immediate connection timeout after reboot
DescriptionWhile uptime less than MHD_OPTION_CONNECTION_TIMEOUT all SSL connections will be dropped
Steps To Reproduce1. Reboot
2. Try to get some response using HTTPS
TagsNo tags attached.
Attached Files
microhttpd.patch (654 bytes)   
diff -ur a/src/daemon/connection_https.c b/src/daemon/connection_https.c
--- a/src/daemon/connection_https.c	2012-06-20 02:44:47.000000000 +0900
+++ b/src/daemon/connection_https.c	2013-02-15 11:36:14.000000000 +0900
@@ -138,7 +138,7 @@
             __FUNCTION__, MHD_state_to_string (connection->state));
 #endif
   timeout = connection->connection_timeout;
-  if ( (timeout != 0) && (MHD_monotonic_time() - timeout > connection->last_activity))
+  if ( (timeout != 0) && (timeout <= (MHD_monotonic_time() - connection->last_activity)))
     MHD_connection_close (connection,
 			  MHD_REQUEST_TERMINATED_TIMEOUT_REACHED);
   switch (connection->state)
microhttpd.patch (654 bytes)   

Activities

Christian Grothoff

2013-03-04 12:47

manager   ~0006925

Fixed in SVN 26294.

Christian Grothoff

2021-09-02 15:54

manager   ~0018213

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2013-02-19 23:43greedNew Issue
2013-02-19 23:43greedFile Added: microhttpd.patch
2013-03-04 12:47Christian GrothoffNote Added: 0006925
2013-03-04 12:47Christian GrothoffStatusnew => resolved
2013-03-04 12:47Christian GrothoffFixed in Version => 0.9.26
2013-03-04 12:47Christian GrothoffResolutionopen => fixed
2013-03-04 12:47Christian GrothoffAssigned To => Christian Grothoff
2013-03-04 12:47Christian GrothoffTarget Version => 0.9.26
2013-03-29 19:09Christian GrothoffStatusresolved => closed
2013-05-06 10:52Christian GrothoffCategorySSL => HTTPS (SSL)
2021-09-02 15:54Christian Grothoff
2021-09-02 15:54Christian GrothoffNote Added: 0018213
2024-01-21 12:25Christian GrothoffCategoryHTTPS (SSL) => HTTPS (TLS)