Aram Sargsyan
8c4cdd9b21
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.
2022-08-19 08:10:54 +00:00
..
2022-07-13 13:19:32 +02:00
2022-08-02 14:02:01 +03:00
2022-03-02 10:48:09 +00:00
2022-07-05 12:22:55 -07:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-04-19 14:25:23 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-08 11:19:34 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-03-28 15:02:18 -07:00
2022-08-19 08:10:54 +00:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-07-13 13:19:32 +02:00
2022-03-25 08:33:43 +01:00
2022-07-13 13:19:32 +02:00
2022-03-04 13:49:51 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-08-09 10:59:43 -07:00
2022-01-11 09:05:02 +01:00
2022-07-13 13:19:32 +02:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-05-23 18:25:18 +03:00
2022-05-23 18:25:18 +03:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-07-05 12:22:55 -07:00
2022-01-11 09:05:02 +01:00
2022-04-25 15:18:58 +01:00
2022-04-02 01:23:15 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-28 15:32:30 +03:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-02-10 17:18:09 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-07-05 12:22:55 -07:00
2022-05-28 14:53:02 -07:00
2022-07-13 13:19:32 +02:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-07-05 12:22:55 -07:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-05-13 10:07:20 +02:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-05-04 12:31:46 +02:00