Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion lib/mgmt_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,14 @@ msg_client_init(struct msg_client *client, struct event_loop *tm,

/*
* Server-side Connections
*
* MGMTD_MAX_CONN is the listen(2) backlog for the mgmtd frontend and
* backend UNIX sockets. It bounds the kernel's accept queue, not the
* number of concurrent connections mgmtd will handle. SOMAXCONN defers
* to the platform default (Linux: net.core.somaxconn), matching the
* convention already used by bgpd, bfdd, and pimd.
*/
#define MGMTD_MAX_CONN 32
#define MGMTD_MAX_CONN SOMAXCONN

PREDECL_LIST(msg_server_list);

Expand Down
Loading