gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: process_broken_line(): avoid doub


From: gnunet
Subject: [libmicrohttpd] branch master updated: process_broken_line(): avoid double error sending
Date: Sun, 03 Oct 2021 19:59:27 +0200

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 3d108230 process_broken_line(): avoid double error sending
3d108230 is described below

commit 3d10823017ebb69d92c1c4b3ac5d663b257eacb4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Sep 29 17:41:01 2021 +0300

    process_broken_line(): avoid double error sending
---
 src/microhttpd/connection.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 925f9df5..0e0fd5d4 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3384,9 +3384,7 @@ process_broken_line (struct MHD_Connection *connection,
                              strlen (connection->colon),
                              kind))
   {
-    transmit_error_response_static (connection,
-                                    MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE,
-                                    REQUEST_TOO_BIG);
+    /* Error has been queued by connection_add_header() */
     return MHD_NO;
   }
   /* we still have the current line to deal with... */

-- 
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]