diff options
Diffstat (limited to 'src/include/microhttpd2.h')
-rw-r--r-- | src/include/microhttpd2.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h index 924814f9..5bf125ef 100644 --- a/src/include/microhttpd2.h +++ b/src/include/microhttpd2.h | |||
@@ -2429,7 +2429,7 @@ enum MHD_ConnectionNotificationCode | |||
2429 | * @param socket_context socket-specific pointer where the | 2429 | * @param socket_context socket-specific pointer where the |
2430 | * client can associate some state specific | 2430 | * client can associate some state specific |
2431 | * to the TCP connection; note that this is | 2431 | * to the TCP connection; note that this is |
2432 | * different from the "con_cls" which is per | 2432 | * different from the "req_cls" which is per |
2433 | * HTTP request. The client can initialize | 2433 | * HTTP request. The client can initialize |
2434 | * during #MHD_CONNECTION_NOTIFY_STARTED and | 2434 | * during #MHD_CONNECTION_NOTIFY_STARTED and |
2435 | * cleanup during #MHD_CONNECTION_NOTIFY_CLOSED | 2435 | * cleanup during #MHD_CONNECTION_NOTIFY_CLOSED |
@@ -3303,7 +3303,7 @@ MHD_NONNULL (1); | |||
3303 | * @param connection original HTTP connection handle, | 3303 | * @param connection original HTTP connection handle, |
3304 | * giving the function a last chance | 3304 | * giving the function a last chance |
3305 | * to inspect the original HTTP request | 3305 | * to inspect the original HTTP request |
3306 | * @param con_cls last value left in `con_cls` of the `MHD_AccessHandlerCallback` | 3306 | * @param req_cls last value left in `req_cls` of the `MHD_AccessHandlerCallback` |
3307 | * @param extra_in if we happened to have read bytes after the | 3307 | * @param extra_in if we happened to have read bytes after the |
3308 | * HTTP header already (because the client sent | 3308 | * HTTP header already (because the client sent |
3309 | * more than the HTTP header of the request before | 3309 | * more than the HTTP header of the request before |
@@ -3328,7 +3328,7 @@ MHD_NONNULL (1); | |||
3328 | typedef void | 3328 | typedef void |
3329 | (*MHD_UpgradeHandler)(void *cls, | 3329 | (*MHD_UpgradeHandler)(void *cls, |
3330 | struct MHD_Connection *connection, | 3330 | struct MHD_Connection *connection, |
3331 | void *con_cls, | 3331 | void *req_cls, |
3332 | const char *extra_in, | 3332 | const char *extra_in, |
3333 | size_t extra_in_size, | 3333 | size_t extra_in_size, |
3334 | MHD_socket sock, | 3334 | MHD_socket sock, |
@@ -3644,8 +3644,8 @@ enum MHD_ConnectionInformationType | |||
3644 | /** | 3644 | /** |
3645 | * Returns the client-specific pointer to a `void *` that was (possibly) | 3645 | * Returns the client-specific pointer to a `void *` that was (possibly) |
3646 | * set during a #MHD_NotifyConnectionCallback when the socket was | 3646 | * set during a #MHD_NotifyConnectionCallback when the socket was |
3647 | * first accepted. Note that this is NOT the same as the "con_cls" | 3647 | * first accepted. Note that this is NOT the same as the "req_cls" |
3648 | * argument of the #MHD_AccessHandlerCallback. The "con_cls" is | 3648 | * argument of the #MHD_AccessHandlerCallback. The "req_cls" is |
3649 | * fresh for each HTTP request, while the "socket_context" is fresh | 3649 | * fresh for each HTTP request, while the "socket_context" is fresh |
3650 | * for each socket. | 3650 | * for each socket. |
3651 | */ | 3651 | */ |