aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
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/include/microhttpd.h
parent97fd0a6557b98166f9617370e1497d47e80e9a04 (diff)
downloadlibmicrohttpd-26368ac8f1a32f49eaffae77abcfc595c62802bd.tar.gz
libmicrohttpd-26368ac8f1a32f49eaffae77abcfc595c62802bd.zip
add ways for application to control corking for upgraded sockets
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index c2fc90a4..00288696 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3132,7 +3132,17 @@ enum MHD_UpgradeAction
3132 * 3132 *
3133 * Takes no extra arguments. 3133 * Takes no extra arguments.
3134 */ 3134 */
3135 MHD_UPGRADE_ACTION_CLOSE = 0 3135 MHD_UPGRADE_ACTION_CLOSE = 0,
3136
3137 /**
3138 * Enable CORKing on the underlying socket.
3139 */
3140 MHD_UPGRADE_ACTION_CORK_ON = 1,
3141
3142 /**
3143 * Disable CORKing on the underlying socket.
3144 */
3145 MHD_UPGRADE_ACTION_CORK_OFF = 2
3136 3146
3137}; 3147};
3138 3148