[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: avoid log message on
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: avoid log message on EOPNOTSUPP for UNIX domain sockets, as suggested by Markus |
Date: |
Thu, 17 Oct 2019 20:58:44 +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 dab96071 avoid log message on EOPNOTSUPP for UNIX domain sockets, as
suggested by Markus
dab96071 is described below
commit dab960711f64b62dc447a66d98705dbb51407ca8
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Oct 17 19:12:08 2019 +0200
avoid log message on EOPNOTSUPP for UNIX domain sockets, as suggested by
Markus
---
src/microhttpd/daemon.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 97e0ec30..e5d40861 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3259,8 +3259,9 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
#if defined(MHD_TCP_CORK_NOPUSH) || defined(HAVE_MSG_MORE)
/* We will use TCP_CORK or TCP_NOPUSH or MSG_MORE to control
transmission, disable Nagle's algorithm (always) */
- if (0 != MHD_socket_set_nodelay_ (s,
- true))
+ if ( (0 != MHD_socket_set_nodelay_ (s,
+ true)) &&
+ (EOPNOTSUPP != errno) )
{
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: avoid log message on EOPNOTSUPP for UNIX domain sockets, as suggested by Markus,
gnunet <=