[#OSSL_HTTP_close] = OSSL_HTTP_close :mrdocs: Close the HTTP connection and free the request context. == Synopsis Declared in `<openssl/http.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_HTTP_close( xref:OSSL_HTTP_REQ_CTX.adoc[OSSL_HTTP_REQ_CTX]* rctx, int ok); ---- == Return Value 1 if disconnect completed cleanly, or 0 if anything went wrong while closing. == Parameters [cols="1,4"] |=== | Name| Description | *rctx* | Context from OSSL_HTTP_open()/OSSL_HTTP_transfer(); may be NULL. | *ok* | 1 if the transfer succeeded (passed to any BIO update callback), or 0 on error. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#