[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 105/154: remove commented code
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 105/154: remove commented code |
Date: |
Mon, 19 Aug 2019 10:16:57 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository libmicrohttpd.
commit 9e8418b943c417b50b0e7ecac868cde3933aba5e
Author: ng0 <address@hidden>
AuthorDate: Fri Jul 26 22:18:09 2019 +0000
remove commented code
---
src/microhttpd/mhd_send.c | 49 -----------------------------------------------
1 file changed, 49 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index d8e49954..be136c23 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -319,25 +319,7 @@ MHD_send_on_connection2_ (struct MHD_Connection
*connection,
struct iovec vector[2];
have_cork = ! connection->sk_cork_on;
- /*
-#if TCP_NODELAY
- use_corknopush = false;
-#elif TCP_CORK
- use_corknopush = true;
-#elif TCP_NOPUSH
- use_corknopush = true;
-#endif
- */
-
pre_cork_setsockopt (connection, want_cork);
- /*
-#if TCP_NODELAY
- if ((! use_corknopush) && (! have_cork && want_cork))
- {
- MHD_setsockopt_ (connection, TCP_NODELAY, false, false);
- }
-#endif
- */
vector[0].iov_base = header;
vector[0].iov_len = strlen (header);
@@ -356,37 +338,6 @@ MHD_send_on_connection2_ (struct MHD_Connection
*connection,
post_cork_setsockopt (connection, want_cork);
- /*
-#if TCP_CORK
- if (use_corknopush)
- {
- eno;
-
- eno = errno;
- if ((ret == header_len + buffer_len) && have_cork)
- {
- // Response complete, definitely uncork!
- MHD_setsockopt_ (connection, TCP_CORK, false, true);
- }
- errno = eno;
- }
- return ret;
-#elif TCP_NOPUSH
- if (use_corknopush)
- {
- eno;
-
- eno = errno;
- if (ret == header_len + buffer_len)
- {
- // Response complete, set NOPUSH to off
- MHD_setsockopt_ (connection, TCP_NOPUSH, false, false);
- }
- errno = eno;
- }
- return ret;
-#endif
- */
return ret;
#else
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [libmicrohttpd] 65/154: remove old function name., (continued)
- [GNUnet-SVN] [libmicrohttpd] 65/154: remove old function name., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 94/154: simplify, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 89/154: attempt fix, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 97/154: simplify, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 108/154: have_cork->want_cork, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 91/154: show not tell, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 102/154: for tests, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 86/154: initial move code sendfile., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 100/154: incomplete, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 111/154: synt, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 105/154: remove commented code,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 99/154: remove dead code, comment new code., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 109/154: declare ret, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 120/154: configure, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 119/154: attempt configure fix, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 116/154: ack other authors, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 98/154: simplify, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 104/154: skcork, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 124/154: mhd_send commented,, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 127/154: remove commentblock, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 112/154: configure.ac: define a check for HAVE_SENDMSG, gnunet, 2019/08/19