gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: Do not fail on full


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: Do not fail on full read buffer if connection was resumed too quick after suspend
Date: Thu, 23 Mar 2017 13:44:10 +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 efa08edf Do not fail on full read buffer if connection was resumed too 
quick after suspend
efa08edf is described below

commit efa08edf9737c43b1b1b1d5633b509c5ed43f546
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Mar 23 15:37:34 2017 +0300

    Do not fail on full read buffer if connection was resumed too quick after 
suspend
---
 src/microhttpd/connection.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 5271991f..61023295 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1418,7 +1418,8 @@ MHD_connection_update_event_loop_info (struct 
MHD_Connection *connection)
               if ((MHD_YES != try_grow_read_buffer (connection)) &&
                   (0 != (connection->daemon->options &
                          MHD_USE_INTERNAL_POLLING_THREAD)) &&
-                  (! connection->suspended))
+                  (! connection->suspended) &&
+                  (! connection->resuming))
                 {
                   /* failed to grow the read buffer, and the
                      client which is supposed to handle the

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]