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.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 7347447c..afb97571 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of libmicrohttpd 2 This file is part of libmicrohttpd
3 Copyright (C) 2006-2015 Christian Grothoff (and other contributing authors) 3 Copyright (C) 2006-2016 Christian Grothoff (and other contributing authors)
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public 6 modify it under the terms of the GNU Lesser General Public
@@ -2261,7 +2261,19 @@ enum MHD_UpgradeAction
2261 * NOTE: it is unclear if we want to have this in the 2261 * NOTE: it is unclear if we want to have this in the
2262 * "final" API, this is just an idea right now. 2262 * "final" API, this is just an idea right now.
2263 */ 2263 */
2264 MHD_UPGRADE_ACTION_CORK 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
2265 2277
2266}; 2278};
2267 2279