Close the HTTP connection and free the request context.
Synopsis
Declared in <openssl/http.h>
int
OSSL_HTTP_close(
OSSL_HTTP_REQ_CTX* rctx,
int ok);
Return Value
1 if disconnect completed cleanly, or 0 if anything went wrong while closing.
Parameters
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. |
Created with MrDocs