]> git.gir.st - ircpipe.git/commit
implement setup timeout
authorTobias Girstmair <t@thi3nkpad.localdomain>
Wed, 29 May 2024 16:23:17 +0000 (18:23 +0200)
committerTobias Girstmair <t@thi3nkpad.localdomain>
Wed, 29 May 2024 16:24:49 +0000 (18:24 +0200)
commit26382e1637ee28ae7b4d96b4c7c20f2a58f04f19
tree8c26995a8f8fab213fc8bdbccaa265d20fa0af28
parent6cb3bab50c45cd82cd65aea4682b37a4e4e1d29e
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