Skip to content

Conversation

@michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Nov 12, 2025

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 michaelortmann changed the title Call check_expired_dcc() every second to honor -timeout settings Bugfix: Call check_expired_dcc() every second to honor -timeout settings Nov 12, 2025
@michaelortmann michaelortmann changed the title Bugfix: Call check_expired_dcc() every second to honor -timeout settings Fix: Call check_expired_dcc() every second to honor -timeout settings Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant