eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

Fix: Call check_expired_dcc() every second to honor -timeout settings

Open michaelortmann opened this issue 4 months ago • 0 comments

Found by: https://github.com/michaelortmann Patch by: https://github.com/michaelortmann Fixes:

One-line summary: Call check_expired_dcc() every second to honor -timeout settings

Additional description (if needed): This bug is ancient While at it, i made eof_timeout_dcc_ident() static

Test cases demonstrating functionality (if applicable): set ident-timeout 3 Configure your machine/network, so that ident requests of the bot will time out Then telnet to the bot check_expired_dcc() is executed every 10 seconds, so you will notice that the timeout will be longer than 3 seconds depending on the gap between the start of the timeout and the start of the check_expired_dcc() cycle

michaelortmann avatar Nov 12 '25 05:11 michaelortmann