View Issue Details

IDProjectCategoryView StatusLast Update
0002802libmicrohttpdHTTPS (TLS)public2021-09-02 17:54
Reportergreed Assigned ToChristian Grothoff  
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 13:47

manager   ~0006925

Fixed in SVN 26294.

Christian Grothoff

2021-09-02 17:54

manager   ~0018213

Fix committed to master branch.

Related Changesets

libmicrohttpd: master f6d108e3

2013-03-04 14:47

Christian Grothoff


Details Diff
fix 0002802 Affected Issues
0002802
mod - ChangeLog Diff File
mod - src/daemon/connection_https.c Diff File

Issue History

Date Modified Username Field Change
2013-02-20 00:43 greed New Issue
2013-02-20 00:43 greed File Added: microhttpd.patch
2013-03-04 13:47 Christian Grothoff Note Added: 0006925
2013-03-04 13:47 Christian Grothoff Status new => resolved
2013-03-04 13:47 Christian Grothoff Fixed in Version => 0.9.26
2013-03-04 13:47 Christian Grothoff Resolution open => fixed
2013-03-04 13:47 Christian Grothoff Assigned To => Christian Grothoff
2013-03-04 13:47 Christian Grothoff Target Version => 0.9.26
2013-03-29 20:09 Christian Grothoff Status resolved => closed
2013-05-06 12:52 Christian Grothoff Category SSL => HTTPS (SSL)
2021-09-02 17:54 Christian Grothoff Changeset attached => libmicrohttpd master f6d108e3
2021-09-02 17:54 Christian Grothoff Note Added: 0018213
2024-01-21 13:25 Christian Grothoff Category HTTPS (SSL) => HTTPS (TLS)