diff options
author | Thomas Markwalder <tmark@isc.org> | 2019-06-26 15:06:26 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2019-06-27 13:50:54 +0200 |
commit | de3af2b8ec92200f78a73f82cef3e9d4aceffa97 (patch) | |
tree | e5ba0942100fa6da2a2fc9a03fca41b19569409c /src/lib/config | |
parent | Apply suggestion to ChangeLog (diff) | |
download | kea-de3af2b8ec92200f78a73f82cef3e9d4aceffa97.tar.xz kea-de3af2b8ec92200f78a73f82cef3e9d4aceffa97.zip |
[#691,!395] Addressed review comments 1
Added TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST
Removed virtual from callback declarations
Added commentary to http/client.h
Diffstat (limited to 'src/lib/config')
-rw-r--r-- | src/lib/config/timeouts.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/config/timeouts.h b/src/lib/config/timeouts.h index d20de9a728..56b6a11200 100644 --- a/src/lib/config/timeouts.h +++ b/src/lib/config/timeouts.h @@ -30,6 +30,14 @@ constexpr long TIMEOUT_AGENT_IDLE_CONNECTION_TIMEOUT = 30000; /// to generate large responses, e.g. dump whole lease databse. constexpr long TIMEOUT_AGENT_FORWARD_COMMAND = 60000; +/// @brief Timeout for the HTTP clients awaiting a response to a request. +/// +/// This value is high to ensure that the client waits long enough +/// for the fulfilling server to generate a response. Specified +/// milliseconds. +constexpr long TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST = 10000; + + } // end of namespace isc::config } // end of namespace isc |