View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002802 | libmicrohttpd | HTTPS (TLS) | public | 2013-02-20 00:43 | 2021-09-02 17:54 |
| Reporter | greed | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.9.24 | ||||
| Target Version | 0.9.26 | Fixed in Version | 0.9.26 | ||
| Summary | 0002802: Immediate connection timeout after reboot | ||||
| Description | While uptime less than MHD_OPTION_CONNECTION_TIMEOUT all SSL connections will be dropped | ||||
| Steps To Reproduce | 1. Reboot 2. Try to get some response using HTTPS | ||||
| Tags | No 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)
| ||||
| 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) |