mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
![]() When testing this patch under a heavy load of 300 new connections per second running for 12 hours, I saw a few timeouts. This means that there are legitimate cases when sending the packet to the channel will not go through no matter how long we wait. However, compared to the old behavior, the amount of dropped packets decreased by a factor of 100x. The value of timeout is chosen to be 1 millisecond, because it feels reasonable that if after so long the packet did not go through, it is not due to a congested channel but due to some other error which will not go away even if we wait longer. |
||
---|---|---|
.. | ||
packet.go | ||
queue.c | ||
queue.go | ||
queue.h |