[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 04/04: test_upgrade{, _large}: removed use on unportable
From: |
gnunet |
Subject: |
[libmicrohttpd] 04/04: test_upgrade{, _large}: removed use on unportable function |
Date: |
Thu, 22 Apr 2021 12:20:06 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit a55b52f02761005a9fedfacaffb0f2c22557a724
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 22 12:32:37 2021 +0300
test_upgrade{,_large}: removed use on unportable function
Usage of CORK is not required for upgraded connection,
CORK is not portable. To make test behavior unified for
all supported platforms, CORK usage is removed from tests.
---
ChangeLog | 6 ++++++
src/microhttpd/test_upgrade.c | 2 --
src/microhttpd/test_upgrade_large.c | 4 ----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 753db214..dcafa01d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu 22 Apr 2021 12:32:00 MSK
+ Fixed some typos.
+ Force disable TCP_CORK, TCP_NOPUSH, and TCP_NODELAY before switching
+ connection to "upgraded" mode.
+ Improved portability of the test-suite for upgraded connections. -EG
+
Tue 20 Apr 2021 17:11:00 MSK
Disabled NLS by default in configure. -EG
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 8a76ec5e..c5eb43c8 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -694,8 +694,6 @@ run_usock (void *cls)
{
struct MHD_UpgradeResponseHandle *urh = cls;
- MHD_upgrade_action (urh,
- MHD_UPGRADE_ACTION_CORK_OFF);
send_all (usock,
"Hello");
recv_all (usock,
diff --git a/src/microhttpd/test_upgrade_large.c
b/src/microhttpd/test_upgrade_large.c
index aeae5127..de0626c8 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -881,10 +881,6 @@ run_usock (void *cls)
{
struct MHD_UpgradeResponseHandle *urh = cls;
- if (MHD_YES !=
- MHD_upgrade_action (urh,
- MHD_UPGRADE_ACTION_CORK_OFF))
- abort ();
send_all (usock,
LARGE_STRING);
recv_all (usock,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.