gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 77/154: fix


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 77/154: fix
Date: Mon, 19 Aug 2019 10:16:29 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit db64241b24be03e2b20f692413ee74c25031891e
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jul 24 18:11:48 2019 +0200

    fix
---
 src/microhttpd/connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index fdabdbcb..8cc3490b 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3409,7 +3409,7 @@ MHD_connection_handle_write (struct MHD_Connection 
*connection)
       return;
     case MHD_CONNECTION_HEADERS_SENDING:
       /* if the response body is not available, we use 
MHD_send_on_connection_() */
-      if (sizeof(connection->response->data) <= 1024) /* bad magic number */
+      if (NULL != connection->response->crc)
         {
           ret = MHD_send_on_connection_ (connection,
                                          &connection->write_buffer

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



reply via email to

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