[#OSSL_HTTP_is_alive]
= OSSL&lowbar;HTTP&lowbar;is&lowbar;alive
:mrdocs:

Test whether an HTTP request context still has a keep&hyphen;alive connection&period;

== Synopsis

Declared in `&lt;openssl&sol;http&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;HTTP&lowbar;is&lowbar;alive(xref:OSSL_HTTP_REQ_CTX.adoc[OSSL&lowbar;HTTP&lowbar;REQ&lowbar;CTX] const* rctx);
----

== Return Value

1 if `rctx` is non&hyphen;NULL and keep&hyphen;alive is active, or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rctx*
| Request context from a prior OSSL&lowbar;HTTP&lowbar;open() &sol; exchange, or NULL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
