[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: MHD_connection_handl
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: MHD_connection_handle_idle(): fixed reset of 'connection->in_idle' to false |
Date: |
Wed, 15 Mar 2017 20:31:13 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 96aabc14 MHD_connection_handle_idle(): fixed reset of
'connection->in_idle' to false
96aabc14 is described below
commit 96aabc147dca3043fca5822ff0756e4bcfacf404
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Wed Mar 15 22:26:08 2017 +0300
MHD_connection_handle_idle(): fixed reset of 'connection->in_idle' to false
---
src/microhttpd/connection.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 40182c4e..f85ab21b 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2737,6 +2737,7 @@ MHD_connection_handle_idle (struct MHD_Connection
*connection)
char *line;
size_t line_len;
int client_close;
+ int ret;
connection->in_idle = true;
while (1)
@@ -3218,11 +3219,15 @@ MHD_connection_handle_idle (struct MHD_Connection
*connection)
return MHD_YES;
}
MHD_connection_update_event_loop_info (connection);
+ ret = MHD_YES;
#ifdef EPOLL_SUPPORT
if (0 != (daemon->options & MHD_USE_EPOLL))
- return MHD_connection_epoll_update_ (connection);
+ {
+ ret = MHD_connection_epoll_update_ (connection);
+ }
#endif /* EPOLL_SUPPORT */
- return MHD_YES;
+ connection->in_idle = false;
+ return ret;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: MHD_connection_handle_idle(): fixed reset of 'connection->in_idle' to false,
gnunet <=