![]() |
dfx 0.1.0
Linux-based dynamic dataflow executor
|
Server configuration values (mostly controlled via Utils::SystemConfig). More...
#include <dfx-server/UnixServer.hpp>
Public Attributes | |
| fs::path | socket |
| Path to the unix domain socket file. | |
| uint32_t | permission = 0 |
| Permission mask applied to the socket file (octal, e.g. 0600). Must be <= 0777. | |
| uint32_t | backlog = 0 |
| Backlog value used for listen(2). | |
| std::chrono::milliseconds | inactivityTimeout {0} |
| Inactivity timeout for sessions. | |
| std::chrono::milliseconds | timeoutAccuracy {0} |
| Periodic timer interval for timeout/error checks. | |
| uint64_t | errCountBeforeClose = 0 |
| Maximum number of total error responses sent to a client before closing. Value 0 disables this limit. | |
| uint64_t | consecutiveErrCountBeforeClose = 0 |
| Maximum number of consecutive error responses sent to a client before closing. | |
Server configuration values (mostly controlled via Utils::SystemConfig).
These options are populated and updated through SystemConfig entries registered in the UnixServer constructor.
| uint32_t dfx::Server::UnixServer::Options::backlog = 0 |
Backlog value used for listen(2).
| uint64_t dfx::Server::UnixServer::Options::consecutiveErrCountBeforeClose = 0 |
Maximum number of consecutive error responses sent to a client before closing.
Value 0 disables this limit. The consecutive counter is expected to reset when a successful response is produced (session responsibility).
| uint64_t dfx::Server::UnixServer::Options::errCountBeforeClose = 0 |
Maximum number of total error responses sent to a client before closing. Value 0 disables this limit.
| std::chrono::milliseconds dfx::Server::UnixServer::Options::inactivityTimeout {0} |
Inactivity timeout for sessions.
A session is considered inactive when it doesn't send or receive messages for this duration. Timeouts are enforced by the periodic timer.
| uint32_t dfx::Server::UnixServer::Options::permission = 0 |
Permission mask applied to the socket file (octal, e.g. 0600). Must be <= 0777.
| fs::path dfx::Server::UnixServer::Options::socket |
Path to the unix domain socket file.
| std::chrono::milliseconds dfx::Server::UnixServer::Options::timeoutAccuracy {0} |
Periodic timer interval for timeout/error checks.
Controls how frequently the server checks sessions for inactivity / limits. The configuration enforces a minimum of 10 ms.