gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 10/11: process_request_body(): fixed: removed wrong spec


From: gnunet
Subject: [libmicrohttpd] 10/11: process_request_body(): fixed: removed wrong special handling of the termination chunk
Date: Wed, 24 Nov 2021 19:08:23 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit f8ed20822b863e7ff892b57e7df089e998c327f2
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Nov 23 15:57:33 2021 +0300

    process_request_body(): fixed: removed wrong special handling of the 
termination chunk
---
 src/microhttpd/connection.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index badf5749..d1736bc8 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3194,10 +3194,7 @@ process_request_body (struct MHD_Connection *connection)
         /* take '\n' into account; if '\n' is the unavailable
            character, we will need to wait until we have it
            before going further */
-        if ( (i + 1 >= available) &&
-             ! ( (1 == i) &&
-                 (2 == available) &&
-                 ('0' == buffer_head[0]) ) )
+        if (i + 1 >= available)
           break;                /* need more data... */
         i++;
         malformed = (end_size >= 16);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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