[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 04/05: new_connection_prepare_(): fixed: CORK is never o
From: |
gnunet |
Subject: |
[libmicrohttpd] 04/05: new_connection_prepare_(): fixed: CORK is never on by default |
Date: |
Sun, 29 Nov 2020 19:50:13 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit cf964cbd0f6ff4eeaef02339506cc8c418b28c3c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Nov 29 21:35:42 2020 +0300
new_connection_prepare_(): fixed: CORK is never on by default
---
src/microhttpd/daemon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index d16d205a..d02f0258 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2458,7 +2458,7 @@ new_connection_prepare_ (struct MHD_Daemon *daemon,
errno = eno;
return MHD_NO;
}
- connection->sk_cork_on = true; /* default is usually ON */
+ connection->sk_cork_on = false;
connection->connection_timeout = daemon->connection_timeout;
if (NULL == (connection->addr = malloc (addrlen)))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (ad8a3e3f -> 7ef7bab3), gnunet, 2020/11/29
- [libmicrohttpd] 01/05: enum MHD_SendSocketOptions: renamed values for clarity. The most important is to push the last peace of response data. Without pushing data, MHD is limited to 5 requests/second (on typical OS) with stay-alive clients., gnunet, 2020/11/29
- [libmicrohttpd] 02/05: mhd_send: always call post_cork_setsockopt() after send(), gnunet, 2020/11/29
- [libmicrohttpd] 04/05: new_connection_prepare_(): fixed: CORK is never on by default,
gnunet <=
- [libmicrohttpd] 05/05: mhd_send: improved setting of sk_cork_on, gnunet, 2020/11/29
- [libmicrohttpd] 03/05: mhd_sockets: renamed macros for clarity, gnunet, 2020/11/29