Function setMaxConnectionNum

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual HttpAppFramework & setMaxConnectionNum(size_t maxConnections)=0

Description

Set the maximum number of all connections.

The default value is 100000.

Note
This operation can be performed by an option in the configuration file.

Source

Line 778 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in to DocsForge