Information describing why and how a QUIC connection was closed.

Synopsis

Declared in <openssl/ssl.h>

struct ssl_conn_close_info_st;

Data Members

Name

Description

error_code

62‐bit QUIC application or transport error code (see flags).

flags

Bitmask of SSL_CONN_CLOSE_FLAG_* (local vs remote, transport vs application).

frame_type

QUIC frame type that caused transport closure, or 0 if unspecified/not transport.

reason

Optional zero‐terminated reason string from the closer; treat as untrusted peer data.

reason_len

Length of reason in bytes (preferred over relying on the terminator alone).

Created with MrDocs