summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2021-12-07 01:36:06 +0300
committerEd Tanous <ed@tanous.net>2021-12-15 23:20:18 +0300
commit6fbdbcabc3ae43dc372459c6c5ae4d53657267f5 (patch)
treedc56b727976fcfe3ae4a3b938ccd6632032a6279 /.clang-format
parent88e1612b4141e9011a70fcb95c76238112051e62 (diff)
downloadbmcweb-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-format')
0 files changed, 0 insertions, 0 deletions