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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index eef50c70..27576f5f 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -2311,6 +2311,14 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
2311 * @param connection original HTTP connection handle, 2311 * @param connection original HTTP connection handle,
2312 * giving the function a last chance 2312 * giving the function a last chance
2313 * to inspect the original HTTP request 2313 * to inspect the original HTTP request
2314 * @param extra_in if we happened to have read bytes after the
2315 * HTTP header already (because the client sent
2316 * more than the HTTP header of the request before
2317 * we sent the upgrade response),
2318 * these are the extra bytes already read from @a sock
2319 * by MHD. The application should treat these as if
2320 * it had read them from @a sock.
2321 * @param extra_in_size number of bytes in @a extra_in
2314 * @param sock socket to use for bi-directional communication 2322 * @param sock socket to use for bi-directional communication
2315 * with the client. For HTTPS, this may not be a socket 2323 * with the client. For HTTPS, this may not be a socket
2316 * that is directly connected to the client and thus certain 2324 * that is directly connected to the client and thus certain
@@ -2324,6 +2332,8 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
2324typedef void 2332typedef void
2325(*MHD_UpgradeHandler)(void *cls, 2333(*MHD_UpgradeHandler)(void *cls,
2326 struct MHD_Connection *connection, 2334 struct MHD_Connection *connection,
2335 const char *extra_in,
2336 size_t extra_in_size,
2327 MHD_SOCKET sock, 2337 MHD_SOCKET sock,
2328 struct MHD_UpgradeResponseHandle *urh); 2338 struct MHD_UpgradeResponseHandle *urh);
2329 2339
@@ -2852,7 +2862,7 @@ enum MHD_FEATURE
2852 * @ingroup specialized 2862 * @ingroup specialized
2853 */ 2863 */
2854_MHD_EXTERN int 2864_MHD_EXTERN int
2855MHD_is_feature_supported(enum MHD_FEATURE feature); 2865MHD_is_feature_supported (enum MHD_FEATURE feature);
2856 2866
2857 2867
2858#if 0 /* keep Emacsens' auto-indent happy */ 2868#if 0 /* keep Emacsens' auto-indent happy */