[#BIO_set_retry_reason]
= BIO&lowbar;set&lowbar;retry&lowbar;reason
:mrdocs:

Store a BIO&lowbar;RR&lowbar;&ast; retry reason on a BIO (used by BIO methods after special I&sol;O)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
BIO&lowbar;set&lowbar;retry&lowbar;reason(
    xref:BIO.adoc[BIO]* bio,
    int reason);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bio*
| BIO that requested a special retry condition&period;
| *reason*
| Retry reason code (for example BIO&lowbar;RR&lowbar;CONNECT)&period;
|===


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