diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-09-07 17:41:23 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-09-07 17:41:23 +0300 |
commit | c19c0438ab62acc7eac02b80a1cd1a535c382bc7 (patch) | |
tree | 5adb6d82f3ed343b5a28bd741e6996d4123b880b /src/include/microhttpd.h | |
parent | 194b1222c69875e8c3e76ba4d55ea0e8d136ac16 (diff) | |
download | libmicrohttpd-c19c0438ab62acc7eac02b80a1cd1a535c382bc7.tar.gz libmicrohttpd-c19c0438ab62acc7eac02b80a1cd1a535c382bc7.zip |
Allowed responses in special cases for backward-compatibility.
Allowed responses for suspended connection any time
Allowed responses for "external polling" mode any time.
Marked this behaviour as deprecated.
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 8745367c..933f146a 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -3528,8 +3528,14 @@ MHD_lookup_connection_value_n (struct MHD_Connection *connection, | |||
3528 | * | 3528 | * |
3529 | * For any active connection this function must be called | 3529 | * For any active connection this function must be called |
3530 | * only by #MHD_AccessHandlerCallback callback. | 3530 | * only by #MHD_AccessHandlerCallback callback. |
3531 | * For suspended connection this function can be called at any moment. Response | 3531 | * |
3532 | * will be sent as soon as connection is resumed. | 3532 | * For suspended connection this function can be called at any moment (this |
3533 | * behaviour is deprecated and will be removed!). Response will be sent | ||
3534 | * as soon as connection is resumed. | ||
3535 | * | ||
3536 | * For single thread environment, when MHD is used in "external polling" mode | ||
3537 | * (without MHD_USE_SELECT_INTERNALLY) this function can be called any | ||
3538 | * time (this behaviour is deprecated and will be removed!). | ||
3533 | * | 3539 | * |
3534 | * If HTTP specifications require use no body in reply, like @a status_code with | 3540 | * If HTTP specifications require use no body in reply, like @a status_code with |
3535 | * value 1xx, the response body is automatically not sent even if it is present | 3541 | * value 1xx, the response body is automatically not sent even if it is present |