aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_upgrade.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-08-01 21:40:47 +0200
committerChristian Grothoff <christian@grothoff.org>2019-08-01 21:40:47 +0200
commit26368ac8f1a32f49eaffae77abcfc595c62802bd (patch)
tree0e444c75bb66730ea96929fda487fbee4e26c41f /src/microhttpd/test_upgrade.c
parent97fd0a6557b98166f9617370e1497d47e80e9a04 (diff)
downloadlibmicrohttpd-26368ac8f1a32f49eaffae77abcfc595c62802bd.tar.gz
libmicrohttpd-26368ac8f1a32f49eaffae77abcfc595c62802bd.zip
add ways for application to control corking for upgraded sockets
Diffstat (limited to 'src/microhttpd/test_upgrade.c')
-rw-r--r--src/microhttpd/test_upgrade.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index caf12e61..9135187c 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -685,6 +685,8 @@ run_usock (void *cls)
685{ 685{
686 struct MHD_UpgradeResponseHandle *urh = cls; 686 struct MHD_UpgradeResponseHandle *urh = cls;
687 687
688 MHD_upgrade_action (urh,
689 MHD_UPGRADE_ACTION_CORK_OFF);
688 send_all (usock, 690 send_all (usock,
689 "Hello"); 691 "Hello");
690 recv_all (usock, 692 recv_all (usock,