gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 03/04: connection.c: fixed chunked response without call


From: gnunet
Subject: [libmicrohttpd] 03/04: connection.c: fixed chunked response without callback
Date: Sun, 15 Aug 2021 17:29:11 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5383019bf515a7e39a54745c27b7129936d14345
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Aug 15 17:08:36 2021 +0300

    connection.c: fixed chunked response without callback
---
 src/microhttpd/connection.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 10b117f1..4768646c 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1012,8 +1012,7 @@ try_ready_chunked_body (struct MHD_Connection *connection,
   size_t chunk_hdr_len;
 
   response = connection->response;
-  if (NULL == response->crc)
-    return MHD_YES;
+  mhd_assert (NULL != response->crc || NULL != response->data);
 
   mhd_assert (0 == connection->write_buffer_append_offset);
 

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