Test whether an HTTP request context still has a keep‐alive connection.

Synopsis

Declared in <openssl/http.h>

int
OSSL_HTTP_is_alive(OSSL_HTTP_REQ_CTX const* rctx);

Return Value

1 if rctx is non‐NULL and keep‐alive is active, or 0 otherwise.

Parameters

Name

Description

rctx

Request context from a prior OSSL_HTTP_open() / exchange, or NULL.

Created with MrDocs