mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
increases tls handshake timeout
This commit is contained in:
@@ -88,8 +88,8 @@ private:
|
||||
Complete // Connection successfully established
|
||||
};
|
||||
|
||||
// Global timeout for entire connection process (hard limit)
|
||||
static constexpr std::chrono::seconds connectTimeout{20};
|
||||
// A timeout for connection process, greater than all step timeouts
|
||||
static constexpr std::chrono::seconds connectTimeout{25};
|
||||
|
||||
/**
|
||||
* @struct StepTimeouts
|
||||
@@ -103,7 +103,7 @@ private:
|
||||
static constexpr std::chrono::seconds tcpConnect{
|
||||
8}; // TCP connection timeout
|
||||
static constexpr std::chrono::seconds tlsHandshake{
|
||||
5}; // SSL handshake timeout
|
||||
8}; // SSL handshake timeout
|
||||
static constexpr std::chrono::seconds httpWrite{
|
||||
2}; // HTTP write timeout
|
||||
static constexpr std::chrono::seconds httpRead{3}; // HTTP read timeout
|
||||
|
||||
Reference in New Issue
Block a user