In the previous commit idle connections are reinserted onto the active list
authorclaudio <claudio@openbsd.org>
Tue, 30 Jan 2024 11:15:05 +0000 (11:15 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 30 Jan 2024 11:15:05 +0000 (11:15 +0000)
commite8a0bc2131d7a48097a486577fa8263466fbe0c9
tree56bb9e8422208bac249e3bd98f69f53392f50f83
parent29ff95df43934b5ff6e8527adbf81d09cb7b6e73
In the previous commit idle connections are reinserted onto the active list
when the connection is closed. Since active connections are processed after
idle ones this will trigger a "timeout, connection closed" warning.
Work around this by clearing io_time in the close case of idle connections
and checking for this in the active connection case.
Problem noticed and OK job@
usr.sbin/rpki-client/http.c