BIO_get_retry_BIO

Walk a BIO chain after BIO_should_io_special() and locate the BIO requesting a retry.

Synopsis

Declared in <openssl/bio.h>

BIO*
BIO_get_retry_BIO(
    BIO* bio,
    int* reason);

Return Value

The BIO in the chain that set the special condition, or NULL if none.

Parameters

NameDescription
bioStarting BIO (usually the application-facing filter).
reasonReceives a BIO_RR_* reason code when non-NULL.