[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 05/05: resume_suspended_connections(): do n
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 05/05: resume_suspended_connections(): do not update connection state during resuming, handle update of states in main loop as handling of locking can significantly increase complexity of processing in resume_suspended_connections(). This revert 16da279752e54c616edcb485ea637234101447c9, but resumed connections in epoll mode are processed already faster after 534d586422c6eba94ae1b193338138cb2abce3cf. |
Date: |
Sun, 21 May 2017 17:56:16 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 0ecf4f26e4c1a4c03d66e1d04bf4cae62bd236a0
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun May 21 18:47:15 2017 +0300
resume_suspended_connections(): do not update connection state during
resuming,
handle update of states in main loop as handling of locking can
significantly increase
complexity of processing in resume_suspended_connections().
This revert 16da279752e54c616edcb485ea637234101447c9, but resumed
connections in epoll
mode are processed already faster after
534d586422c6eba94ae1b193338138cb2abce3cf.
---
ChangeLog | 10 ++++++++++
src/microhttpd/daemon.c | 3 ---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index aabf1b9e..1b18ab49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Sun May 21 18:48:00 MSK 2017
+ Fixed build with disabled "UPGRADE".
+ Fixed possible null-dereference in HTTPS test.
+ Fixed compiler warning in process_request_body(), minor optimizations.
+ Do not allow suspend of "upgraded" connections.
+ Fixed returned value for MHD_CONNECTION_INFO_CONNECTION_SUSPENDED.
+ Fixed removal from timeout lists of non-existing connections in
+ cleanup_connection().
+ Fixed double locking of mutex. -EG
+
Sun May 14 15:05:00 MSK 2017
Fixed resuming connections and closing upgraded connections in select()
mode with thread-per-connection. -EG
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index a6dfc8a1..9aa18b37 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2914,9 +2914,6 @@ resume_suspended_connections (struct MHD_Daemon *daemon)
pos->epoll_state &= ~MHD_EPOLL_STATE_SUSPENDED;
}
#endif
- /* Process response queued during suspend and update states. */
- if (!used_thr_p_c)
- MHD_connection_handle_idle (pos);
}
#ifdef UPGRADE_SUPPORT
else
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [libmicrohttpd] branch master updated (c13d2767 -> 0ecf4f26), gnunet, 2017/05/21
- [GNUnet-SVN] [libmicrohttpd] 01/05: Removed leftover comment, gnunet, 2017/05/21
- [GNUnet-SVN] [libmicrohttpd] 02/05: MHD_get_connection_info(): fixed returned 'bool' which is not a member of union MHD_ConnectionInfo, gnunet, 2017/05/21
- [GNUnet-SVN] [libmicrohttpd] 05/05: resume_suspended_connections(): do not update connection state during resuming, handle update of states in main loop as handling of locking can significantly increase complexity of processing in resume_suspended_connections(). This revert 16da279752e54c616edcb485ea637234101447c9, but resumed connections in epoll mode are processed already faster after 534d586422c6eba94ae1b193338138cb2abce3cf.,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 04/05: cleanup_connection(): fixed cleanup of suspended connection, gnunet, 2017/05/21
- [GNUnet-SVN] [libmicrohttpd] 03/05: close_connection(): added two EXTRA_CHECKs, gnunet, 2017/05/21