Cap the maximum HTTP response body length accepted by rctx.
Declared in <openssl/http.h>
void
OSSL_HTTP_REQ_CTX_set_max_response_length(
OSSL_HTTP_REQ_CTX* rctx,
unsigned long len);
| Name | Description |
|---|---|
| rctx | HTTP request context. |
| len | Maximum response length in bytes (0 may restore the implementation default). |