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

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

Collaboration diagram for ripple::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 84 of file ConnectAttempt.h.

Member Data Documentation

◆ tcpConnect

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

Definition at line 87 of file ConnectAttempt.h.

◆ tlsHandshake

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

Definition at line 89 of file ConnectAttempt.h.

◆ httpWrite

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

Definition at line 91 of file ConnectAttempt.h.

◆ httpRead

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

Definition at line 93 of file ConnectAttempt.h.

◆ tlsShutdown

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

Definition at line 95 of file ConnectAttempt.h.