[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: Refined TCP_NOPUSH handling on Op
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: Refined TCP_NOPUSH handling on OpenBSD |
Date: |
Tue, 22 Dec 2020 17:49:22 +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 2d0ecf93 Refined TCP_NOPUSH handling on OpenBSD
2d0ecf93 is described below
commit 2d0ecf9393d654131534e729ceae79ccc85c164e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Dec 22 19:48:39 2020 +0300
Refined TCP_NOPUSH handling on OpenBSD
---
src/microhttpd/mhd_sockets.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
old mode 100644
new mode 100755
index fbdb2f11..d4f21690
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -245,6 +245,13 @@ typedef SOCKET MHD_socket;
*/
#define _MHD_CORK_RESET_PUSH_DATA 1
#endif /* __FreeBSD_version >= 450000 */
+#ifdef __OpenBSD__
+/* OpenBSD took implementation from FreeBSD */
+/**
+ * Indicate that reset of TCP_CORK / TCP_NOPUSH push data to the network
+ */
+#define _MHD_CORK_RESET_PUSH_DATA 1
+#endif /* __OpenBSD__ */
#endif /* MHD_TCP_CORK_NOPUSH */
#ifdef __linux__
--
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: Refined TCP_NOPUSH handling on OpenBSD,
gnunet <=