diff options
| author | Roland Reichwein <mail@reichwein.it> | 2023-02-10 19:34:47 +0100 | 
|---|---|---|
| committer | Roland Reichwein <mail@reichwein.it> | 2023-02-10 19:34:47 +0100 | 
| commit | 00f02b19ad8ce2f8f0195d3610e06566bf68cd0c (patch) | |
| tree | bf35dbcd980505ba9bc3404edb0921966b51cecf /config.h | |
| parent | cba42916126a1baed33a6f122a5301982993d344 (diff) | |
Added connection limit
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -12,6 +12,7 @@ private:   std::string m_listenAddress; // ip address v4/v6   int m_listenPort;   int m_threads; + int m_max_connections;  public:   Config(const std::string& config_filename = default_config_filename); @@ -22,4 +23,6 @@ public:   int getListenPort() const;   int getThreads() const; + + int getMaxConnections() const;  }; | 
