Kea: timeouts.h Source File

| Kea 3.2.0-git

timeouts.h
Go to the documentation of this file.
1// Copyright (C) 2018-2026,2021 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef CONFIG_TIMEOUTS_H
8#define CONFIG_TIMEOUTS_H
9
10namespace isc {
11namespace config {
12
13// All timeouts provided below are in milliseconds.
14
17 constexpr long TIMEOUT_DHCP_SERVER_RECEIVE_COMMAND = 10000;
18
20 constexpr long TIMEOUT_DHCP_SERVER_IDLE_CONNECTION_TIMEOUT = 30000;
21
27 constexpr long TIMEOUT_DHCP_SERVER_FORWARD_COMMAND = 60000;
28
34 constexpr long TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST = 10000;
35
36
37} // end of namespace isc::config
38} // end of namespace isc
39
40#endif // CONFIG_TIMEOUTS_H
isc::config
Definition command_interpreter.cc:23
isc::config::TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST
constexpr long TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST
Timeout for the HTTP clients awaiting a response to a request.
Definition timeouts.h:34
isc::config::TIMEOUT_DHCP_SERVER_FORWARD_COMMAND
constexpr long TIMEOUT_DHCP_SERVER_FORWARD_COMMAND
Timeout for the DHCP server to forward command to a Kea server, e.g.
Definition timeouts.h:27
isc::config::TIMEOUT_DHCP_SERVER_RECEIVE_COMMAND
constexpr long TIMEOUT_DHCP_SERVER_RECEIVE_COMMAND
Timeout for the DHCP server to receive command over the unix domain socket.
Definition timeouts.h:17
isc::config::TIMEOUT_DHCP_SERVER_IDLE_CONNECTION_TIMEOUT
constexpr long TIMEOUT_DHCP_SERVER_IDLE_CONNECTION_TIMEOUT
Timeout for the idle connection to be closed.
Definition timeouts.h:20
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18