rippled
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
xrpl::ConnectAttempt::StepTimeouts Struct Reference

Defines timeout values for each connection step. More...

Collaboration diagram for xrpl::ConnectAttempt::StepTimeouts:
Collaboration graph
[legend]

Static Public Attributes

static constexpr std::chrono::seconds tcpConnect {8}
 
static constexpr std::chrono::seconds tlsHandshake {8}
 
static constexpr std::chrono::seconds httpWrite {3}
 
static constexpr std::chrono::seconds httpRead {3}
 
static constexpr std::chrono::seconds tlsShutdown {2}
 

Detailed Description

Defines timeout values for each connection step.

These timeouts are designed to detect slow individual phases while allowing the global timeout to enforce the overall time limit.

Definition at line 81 of file ConnectAttempt.h.

Member Data Documentation

◆ tcpConnect

constexpr std::chrono::seconds xrpl::ConnectAttempt::StepTimeouts::tcpConnect {8}
staticconstexpr

Definition at line 84 of file ConnectAttempt.h.

◆ tlsHandshake

constexpr std::chrono::seconds xrpl::ConnectAttempt::StepTimeouts::tlsHandshake {8}
staticconstexpr

Definition at line 86 of file ConnectAttempt.h.

◆ httpWrite

constexpr std::chrono::seconds xrpl::ConnectAttempt::StepTimeouts::httpWrite {3}
staticconstexpr

Definition at line 88 of file ConnectAttempt.h.

◆ httpRead

constexpr std::chrono::seconds xrpl::ConnectAttempt::StepTimeouts::httpRead {3}
staticconstexpr

Definition at line 90 of file ConnectAttempt.h.

◆ tlsShutdown

constexpr std::chrono::seconds xrpl::ConnectAttempt::StepTimeouts::tlsShutdown {2}
staticconstexpr

Definition at line 92 of file ConnectAttempt.h.