diff options
author | Ed Tanous <edtanous@google.com> | 2021-12-07 01:36:06 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-12-15 23:20:18 +0300 |
commit | 6fbdbcabc3ae43dc372459c6c5ae4d53657267f5 (patch) | |
tree | dc56b727976fcfe3ae4a3b938ccd6632032a6279 /.clang-tidy | |
parent | 88e1612b4141e9011a70fcb95c76238112051e62 (diff) | |
download | bmcweb-6fbdbcabc3ae43dc372459c6c5ae4d53657267f5.tar.xz |
Implement connection limit
Now that we rely on normal steady_timer, bmcweb doesn't limit http
connections. This commit moves the connectionCount variable out of the
debug ifdefs, and into the "normal" build. Then additionally, add a
check to ensure that less than 100 connections are started at a time.
This count is intended to match the code in timer_queue.hpp that limited
this to 100 timers at a given time.
Tested:
/redfish/v1 returns properly.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I93ceaf8319d09d911b36cb7b21bba0cf64a9f7b8
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions