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

Name

Description

bio

Starting BIO (usually the application‐facing filter).

reason

Receives a BIO_RR_* reason code when non‐NULL.

Created with MrDocs