summaryrefslogtreecommitdiff
path: root/http/timer_queue.hpp
AgeCommit message (Collapse)AuthorFilesLines
2020-12-12Flush the timer queue at each timer cancellationKarthick Sundarrajan1-0/+5
When attempting to make parallel connections, the BMC is not able to handle more than 25 connections. Found that the timerQueue gets filled with both valid and expired timers. The main timer fires every one second and flush the queue which is not enough for BMCs with high speed processors. So flushing the queue in TimerQueue::cancel() to make room for new connections when the timers are cancelled. Tested: Tested on the BMC with high speed processor and able to make parallel connections without failures. Change-Id: Ib899f5ba3f60c009aeeff462f01d4b45522b803d Signed-off-by: Karthick Sundarrajan <karthick.sundarrajan@intel.com>
2020-10-23fix include namesEd Tanous1-0/+92
cppcheck isn't smart enough to recognize these are c++ headers, not c headers. Considering we're already inconsistent about our naming, it's easier to just be consistent, and move the last few files to use .hpp instead of .h. Tested: Code builds, no changes. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Ic348d695f8527fa4a0ded53f433e1558c319db40