]> git.gir.st - ircpipe.git/commit
implement setup timeout
authorTobias Girstmair <tobi@isticktoit.net>
Wed, 29 May 2024 16:23:17 +0000 (18:23 +0200)
committerTobias Girstmair <tobi@isticktoit.net>
Wed, 29 May 2024 19:56:20 +0000 (21:56 +0200)
commitfb6fd5e82dea015825e61fb9f226c11abfc2f7d0
tree8c26995a8f8fab213fc8bdbccaa265d20fa0af28
parent46c435a6711ad9825520d9e5df29b12872afaefb
implement setup timeout

our current handling of only a specific set of error numerics makes us
vulnerable to hangs, when an unexpected code was received. we should
really respect a response timeout here (which must be quite large due to
ident!)

note that connect timeout is not handled by this (but by setsockopt);
it's a bit unfortunate that when that triggers, errno is EINPROGRESS
("Operation now in progress"), as that's a bit confusing.
ircpipe.c
Imprint / Impressum