Cap the maximum HTTP response body length accepted by rctx.

Synopsis

Declared in <openssl/http.h>

void
OSSL_HTTP_REQ_CTX_set_max_response_length(
    OSSL_HTTP_REQ_CTX* rctx,
    unsigned long len);

Parameters

Name

Description

rctx

HTTP request context.

len

Maximum response length in bytes (0 may restore the implementation default).

Created with MrDocs