Alexandr Nedvedicky 7f8aba2f44 Limit the number of http headers when receiving the http response
Change introduces a default limit on HTTP headers we expect to receive
from server to 256. If limit is exceeded http client library indicates
HTTP_R_RESPONSE_TOO_MANY_HDRLINES error. Application can use
OSSL_HTTP_REQ_CTX_set_max_response_hdr_lines() to change default.
Setting limit to 0 implies no limit (current behavior).

Fixes #22264

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23781)
2024-03-12 19:35:41 +01:00
..
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2019-04-19 09:31:54 +01:00
2023-06-18 16:53:09 +10:00
2021-09-02 12:55:39 +10:00
2020-11-18 11:40:52 +01:00
2023-09-07 09:59:15 +01:00
2020-04-23 13:55:52 +01:00
2023-03-06 08:00:58 +11:00
2023-10-24 17:34:07 +01:00
2019-09-19 09:27:38 -04:00
2023-09-07 09:59:15 +01:00
2021-04-08 13:04:41 +01:00
2023-09-07 09:59:15 +01:00
2023-11-15 08:22:29 +01:00
2022-12-08 07:01:33 +01:00
2023-03-08 12:29:22 +01:00