aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index afb97571..49af7fde 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -2250,30 +2250,7 @@ enum MHD_UpgradeAction
2250 * 2250 *
2251 * Takes no extra arguments. 2251 * Takes no extra arguments.
2252 */ 2252 */
2253 MHD_UPGRADE_ACTION_CLOSE = 0, 2253 MHD_UPGRADE_ACTION_CLOSE = 0
2254
2255 /**
2256 * Uncork the TCP write buffer (that is, tell the OS to transmit all
2257 * bytes in the buffer now, and to not use TCP-CORKing).
2258 *
2259 * Takes no extra arguments.
2260 *
2261 * NOTE: it is unclear if we want to have this in the
2262 * "final" API, this is just an idea right now.
2263 */
2264 MHD_UPGRADE_ACTION_CORK,
2265
2266 /**
2267 * Try to "flush" our write buffer (to the network), returning
2268 * #MHD_YES on success (buffer is empty) and #MHD_NO on failure
2269 * (unsent bytes remain in buffers). This option is useful if
2270 * the application wants to make sure that all data has been sent,
2271 * which may be a good idea before closing the socket.
2272 *
2273 * NOTE: it is unclear if we want to have this in the
2274 * "final" API, this is just an idea right now.
2275 */
2276 MHD_UPGRADE_ACTION_FLUSH
2277 2254
2278}; 2255};
2279 2256