commit 8962cba42d7a104408608518a161fc0e0311ef4a
parent 7ae4bcccecac6e5933a9686cb5bb7647fb3a3432
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 19 Sep 2023 14:52:06 +0300
Improved doxy for #MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE info
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -2307,6 +2307,8 @@ union MHD_ConnectionInfo
/**
* Size of the client's HTTP header.
+ * It includes the request line, all request headers, the header section
+ * terminating empty line, with all CRLF (or LF) characters.
*/
size_t header_size;
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
@@ -1097,6 +1097,8 @@ struct MHD_Request
/**
* Number of bytes we had in the HTTP header, set once we
* pass #MHD_CONNECTION_HEADERS_RECEIVED.
+ * This includes the request line, all request headers, the header section
+ * terminating empty line, with all CRLF (or LF) characters.
*/
size_t header_size;