OSSL_HTTP_REQ_CTX_set_max_response_hdr_lines

Limit how many HTTP response header lines rctx will accept.

Synopsis

Declared in <openssl/http.h>

void
OSSL_HTTP_REQ_CTX_set_max_response_hdr_lines(
    OSSL_HTTP_REQ_CTX* rctx,
    size_t count);

Parameters

NameDescription
rctxRequest context to update.
countMaximum header lines (0 means unlimited / implementation default).