summaryrefslogtreecommitdiffstats
path: root/src/lib/config
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2019-06-26 15:06:26 +0200
committerThomas Markwalder <tmark@isc.org>2019-06-27 13:50:54 +0200
commitde3af2b8ec92200f78a73f82cef3e9d4aceffa97 (patch)
treee5ba0942100fa6da2a2fc9a03fca41b19569409c /src/lib/config
parentApply suggestion to ChangeLog (diff)
downloadkea-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.h8
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