[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/03: mhd_sockets: added more network error codes
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/03: mhd_sockets: added more network error codes |
Date: |
Sat, 06 Nov 2021 10:36:18 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit bc1ea341498590edefaf9502d3b924aeefd1e214
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Nov 6 12:17:33 2021 +0300
mhd_sockets: added more network error codes
---
src/microhttpd/mhd_sockets.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index 5560c0f8..a53037ec 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -605,6 +605,21 @@ typedef int MHD_SCKT_SEND_SIZE_;
# else /* ! ENETDOWN */
# define MHD_SCKT_ENETDOWN_ MHD_SCKT_MISSING_ERR_CODE_
# endif /* ! ENETDOWN */
+# ifdef EALREADY
+# define MHD_SCKT_EALREADY_ EALREADY
+# else /* ! EALREADY */
+# define MHD_SCKT_EALREADY_ MHD_SCKT_MISSING_ERR_CODE_
+# endif /* ! EALREADY */
+# ifdef EINPROGRESS
+# define MHD_SCKT_EINPROGRESS_ EINPROGRESS
+# else /* ! EINPROGRESS */
+# define MHD_SCKT_EINPROGRESS_ MHD_SCKT_MISSING_ERR_CODE_
+# endif /* ! EINPROGRESS */
+# ifdef EISCONN
+# define MHD_SCKT_EISCONN_ EISCONN
+# else /* ! EISCONN */
+# define MHD_SCKT_EISCONN_ MHD_SCKT_MISSING_ERR_CODE_
+# endif /* ! EISCONN */
#elif defined(MHD_WINSOCK_SOCKETS)
# define MHD_SCKT_EAGAIN_ WSAEWOULDBLOCK
# define MHD_SCKT_EWOULDBLOCK_ WSAEWOULDBLOCK
@@ -627,6 +642,9 @@ typedef int MHD_SCKT_SEND_SIZE_;
# define MHD_SCKT_EOPNOTSUPP_ WSAEOPNOTSUPP
# define MHD_SCKT_EACCESS_ WSAEACCES
# define MHD_SCKT_ENETDOWN_ WSAENETDOWN
+# define MHD_SCKT_EALREADY_ WSAEALREADY
+# define MHD_SCKT_EINPROGRESS_ WSAEACCES
+# define MHD_SCKT_EISCONN_ WSAEISCONN
#endif
/**
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.