[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 02/03: Do not disconnect suspended HTTPS co
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 02/03: Do not disconnect suspended HTTPS connections by timeout. |
Date: |
Thu, 16 Mar 2017 18:47:12 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 53ffa669927c58685c9013d6512693ae633cace0
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Mar 16 18:49:00 2017 +0300
Do not disconnect suspended HTTPS connections by timeout.
---
src/microhttpd/connection_https.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/connection_https.c
b/src/microhttpd/connection_https.c
index 3dca50e5..d71a31c8 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -140,6 +140,8 @@ MHD_tls_connection_handle_idle (struct MHD_Connection
*connection)
__FUNCTION__,
MHD_state_to_string (connection->state));
#endif
+ if (connection->suspended)
+ return MHD_connection_handle_idle (connection);
timeout = connection->connection_timeout;
if ( (timeout != 0) &&
(timeout <= (MHD_monotonic_sec_counter() - connection->last_activity)))
--
To stop receiving notification emails like this one, please contact
address@hidden