[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: test_upgrade: adapted for macOS
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: test_upgrade: adapted for macOS |
Date: |
Wed, 31 Jan 2024 21:05:37 +0100 |
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 fe17d1ac test_upgrade: adapted for macOS
fe17d1ac is described below
commit fe17d1accab22ad42b312755e8f6cdd86fe04790
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Jan 31 21:05:12 2024 +0100
test_upgrade: adapted for macOS
---
src/microhttpd/test_upgrade.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 4b9e5b8f..c1970989 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -1392,7 +1392,11 @@ recv_all (struct wr_socket *sock,
static void
send_eof (struct wr_socket *sock)
{
- if (0 != wr_shutdown (sock, wr_is_eof_received (sock) ? SHUT_RDWR : SHUT_WR))
+ if (0 != wr_shutdown (sock, /*
+ ** On Darwin local shutdown of RD cause error
+ ** if remote side shut down WR before.
+ wr_is_eof_received (sock) ? SHUT_RDWR : */
+ SHUT_WR))
externalErrorExitDesc ("Failed to shutdown connection");
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: test_upgrade: adapted for macOS,
gnunet <=