aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-22 12:32:37 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-04-22 13:17:29 +0300
commita55b52f02761005a9fedfacaffb0f2c22557a724 (patch)
tree544787fb67f7815d870da1838603753696688d6f /src
parent79df07303a611cc949cb1d52adf1a41e60b381f2 (diff)
downloadlibmicrohttpd-a55b52f02761005a9fedfacaffb0f2c22557a724.tar.gz
libmicrohttpd-a55b52f02761005a9fedfacaffb0f2c22557a724.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/microhttpd/test_upgrade.c2
-rw-r--r--src/microhttpd/test_upgrade_large.c4
2 files changed, 0 insertions, 6 deletions
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)
694{ 694{
695 struct MHD_UpgradeResponseHandle *urh = cls; 695 struct MHD_UpgradeResponseHandle *urh = cls;
696 696
697 MHD_upgrade_action (urh,
698 MHD_UPGRADE_ACTION_CORK_OFF);
699 send_all (usock, 697 send_all (usock,
700 "Hello"); 698 "Hello");
701 recv_all (usock, 699 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)
881{ 881{
882 struct MHD_UpgradeResponseHandle *urh = cls; 882 struct MHD_UpgradeResponseHandle *urh = cls;
883 883
884 if (MHD_YES !=
885 MHD_upgrade_action (urh,
886 MHD_UPGRADE_ACTION_CORK_OFF))
887 abort ();
888 send_all (usock, 884 send_all (usock,
889 LARGE_STRING); 885 LARGE_STRING);
890 recv_all (usock, 886 recv_all (usock,