gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: reorder statements s


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: reorder statements so we can look at errno, might theoretically even fix #5826
Date: Sun, 13 Oct 2019 20:44:39 +0200

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

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 63a36813 reorder statements so we can look at errno, might 
theoretically even fix #5826
63a36813 is described below

commit 63a36813612a466c306297a5481c1e1e4f2e6164
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Oct 13 20:42:21 2019 +0200

    reorder statements so we can look at errno, might theoretically even fix 
#5826
---
 src/microhttpd/test_upgrade_large.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/test_upgrade_large.c 
b/src/microhttpd/test_upgrade_large.c
index 3a3a2f0c..9ad15578 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -639,15 +639,18 @@ recv_hdr (struct wr_socket *sock)
     ret = wr_recv (sock,
                    &c,
                    1);
-    kick_select ();
     if (0 > ret)
     {
       if (MHD_SCKT_ERR_IS_EAGAIN_ (MHD_socket_get_error_ ()))
         continue;
+      fprintf (stderr,
+               "recv failed unexpectedly: %s\n",
+               strerror (errno));
       abort ();
     }
     if (0 == ret)
       continue;
+    kick_select ();
     if (c == next)
     {
       i++;

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



reply via email to

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