[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 04/05: MHD_poll_listen_socket(): handle res
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 04/05: MHD_poll_listen_socket(): handle resumed connections and closed "upgraded" connections |
Date: |
Sun, 14 May 2017 14:11:22 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 5c71e7550e31cacebc64f1669c28d7f8940e9701
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun May 14 14:46:27 2017 +0300
MHD_poll_listen_socket(): handle resumed connections and closed "upgraded"
connections
---
ChangeLog | 8 ++++++++
src/microhttpd/daemon.c | 4 ++++
2 files changed, 12 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index b9698655..2bc7bf0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sun May 14 14:49:00 MSK 2017
+ Removed extra call to resume connections in MHD_run().
+ Handle resumed connection without delay in epoll mode.
+ Update states of resumed connection after resume in
thread-per-connection
+ mode.
+ Fixed resuming connections and closing upgraded connections in poll()
+ mode with thread-per-connection. -EG
+
Thu May 11 22:37:00 MSK 2017
Faster start really processing data in resumed connections. -EG
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 540dc7ea..c26d461e 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3897,6 +3897,10 @@ MHD_poll_listen_socket (struct MHD_Daemon *daemon,
poll_itc_idx = poll_count;
poll_count++;
}
+
+ if (0 != (daemon->options & MHD_TEST_ALLOW_SUSPEND_RESUME))
+ (void)resume_suspended_connections (daemon);
+
if (MHD_NO == may_block)
timeout = 0;
else
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [libmicrohttpd] branch master updated (858483b5 -> 6c991e09), gnunet, 2017/05/14
- [GNUnet-SVN] [libmicrohttpd] 01/05: internal_run_from_select(): remove extra call for epoll run as epoll called directly, gnunet, 2017/05/14
- [GNUnet-SVN] [libmicrohttpd] 03/05: thread_main_handle_connection(): update states of connection after resume, gnunet, 2017/05/14
- [GNUnet-SVN] [libmicrohttpd] 05/05: Handle resumed connections and closed "upgraded" connections in thread-per-connection mode with select(), do not use zero delay in MHD_poll_listen_socket() if connections are resumed, gnunet, 2017/05/14
- [GNUnet-SVN] [libmicrohttpd] 02/05: Improved resume_suspended_connections() handling: Removed extra call from MHD_run(), moved call in MHD_epoll() so resumed connections are handled without delay, gnunet, 2017/05/14
- [GNUnet-SVN] [libmicrohttpd] 04/05: MHD_poll_listen_socket(): handle resumed connections and closed "upgraded" connections,
gnunet <=