libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit dde0539917cbcd6b0b078bce72d697ee03ca5a07
parent b74171436189b0f629de7a159bc5ee0ed2242322
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Fri,  3 Jul 2026 19:30:06 +0200

Moved MHD_SC_RESP_CANNOT_CLEAR_REUSE to the right group

Diffstat:
Msrc/include/microhttpd2.h | 12++++++------
Msrc/include/microhttpd2_preamble.h.in | 12++++++------
2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h @@ -1403,12 +1403,6 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_RESP_MUTEX_INIT_FAILED = 50501 , /** - * Unable to clear "reusable" flag. - * One this flag set, it cannot be removed for the response lifetime. - */ - MHD_SC_RESP_CANNOT_CLEAR_REUSE = 50520 - , - /** * Unable to allocate memory for the response header */ MHD_SC_RESP_HEADER_MEM_ALLOC_FAILED = 50540 @@ -1795,6 +1789,12 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_EXTR_EVENT_UNEXPECTED_STATUS = 60251 , /** + * Unable to clear "reusable" flag. + * One this flag set, it cannot be removed for the response lifetime. + */ + MHD_SC_RESP_CANNOT_CLEAR_REUSE = 60300 + , + /** * The application tried to add second DATE header. */ MHD_SC_RESP_HEADER_DATE_DUPLICATE = 60340 diff --git a/src/include/microhttpd2_preamble.h.in b/src/include/microhttpd2_preamble.h.in @@ -1403,12 +1403,6 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_RESP_MUTEX_INIT_FAILED = 50501 , /** - * Unable to clear "reusable" flag. - * One this flag set, it cannot be removed for the response lifetime. - */ - MHD_SC_RESP_CANNOT_CLEAR_REUSE = 50520 - , - /** * Unable to allocate memory for the response header */ MHD_SC_RESP_HEADER_MEM_ALLOC_FAILED = 50540 @@ -1795,6 +1789,12 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_EXTR_EVENT_UNEXPECTED_STATUS = 60251 , /** + * Unable to clear "reusable" flag. + * One this flag set, it cannot be removed for the response lifetime. + */ + MHD_SC_RESP_CANNOT_CLEAR_REUSE = 60300 + , + /** * The application tried to add second DATE header. */ MHD_SC_RESP_HEADER_DATE_DUPLICATE = 60340