openssl/crypto/http
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
..
build.info
http_client.c Limit the number of http headers when receiving the http response 2024-03-12 19:35:41 +01:00
http_err.c Limit the number of http headers when receiving the http response 2024-03-12 19:35:41 +01:00
http_lib.c Fix some invalid use of sscanf 2023-12-12 16:12:32 +00:00