bind9/lib
Aram Sargsyan d4c5d1c650 Fix statistics channel multiple request processing with non-empty bodies
When the HTTP request has a body part after the HTTP headers, it is
not getting processed and is being prepended to the next request's data,
which results in an error when trying to parse it.

Improve the httpd.c:process_request() function with the following
additions:

1. Require that HTTP POST requests must have Content-Length header.
2. When Content-Length header is set, extract its value, and make sure
   that it is valid and that the whole request's body is received before
   processing the request.
3. Discard the request's body by consuming Content-Length worth of data
   in the buffer.

(cherry picked from commit c2bbdc8a648c9630b2c9cea5227ad5c309c2ade5)
2022-08-19 08:27:01 +00:00
..
bind9 warn about zones with both dnssec-policy and max-zone-ttl 2022-07-22 13:13:24 -07:00
dns Fix tkey.c:buildquery() function's error handling 2022-08-17 08:36:07 +00:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc Fix statistics channel multiple request processing with non-empty bodies 2022-08-19 08:27:01 +00:00
isccc Update clang to version 14 2022-06-16 18:09:33 +02:00
isccfg Silence negative array index warning with toupper 2022-08-19 12:31:04 +10:00
ns Don't enable serve-stale on duplicate queries 2022-08-09 09:36:11 +02:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00