[#SSL_get_conn_close_info]
= SSL&lowbar;get&lowbar;conn&lowbar;close&lowbar;info
:mrdocs:

Retrieve why a terminated QUIC connection was closed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;get&lowbar;conn&lowbar;close&lowbar;info(
    xref:SSL.adoc[SSL]* ssl,
    xref:SSL_CONN_CLOSE_INFO.adoc[SSL&lowbar;CONN&lowbar;CLOSE&lowbar;INFO]* info,
    size&lowbar;t info&lowbar;len);
----

== Return Value

1 on success, or 0 on failure (e&period;g&period; not terminated, stream, or non&hyphen;QUIC)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ssl*
| QUIC connection SSL object that has already terminated&period;
| *info*
| Output structure to fill&semi; must be non&hyphen;NULL&period;
| *info&lowbar;len*
| Size of `info` (must be sizeof(&ast;info))&period;
|===


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