[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 02/04: resume_suspended_connections(): real
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 02/04: resume_suspended_connections(): really mark resumed connection as "ready" in epoll mode |
Date: |
Thu, 11 May 2017 21:39:44 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 534d586422c6eba94ae1b193338138cb2abce3cf
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu May 11 22:24:10 2017 +0300
resume_suspended_connections(): really mark resumed connection as "ready"
in epoll mode
---
src/microhttpd/daemon.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 03a8fab6..551aa4ed 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2895,7 +2895,8 @@ resume_suspended_connections (struct MHD_Daemon *daemon)
EDLL_insert (daemon->eready_head,
daemon->eready_tail,
pos);
- pos->epoll_state |= MHD_EPOLL_STATE_IN_EREADY_EDLL;
+ pos->epoll_state |= MHD_EPOLL_STATE_IN_EREADY_EDLL | \
+ MHD_EPOLL_STATE_READ_READY | MHD_EPOLL_STATE_WRITE_READY;
pos->epoll_state &= ~MHD_EPOLL_STATE_SUSPENDED;
}
#endif
--
To stop receiving notification emails like this one, please contact
address@hidden