Commit Graph

4 Commits

Author SHA1 Message Date
Alexandre Ratchov 1247c187a7 s/unsigned/unsigned int/g, requested by deraadt 2012-04-11 09:21:29 +02:00
Alexandre Ratchov 2d72ee38d1 Don't spin if accept() fails because it is out of file descriptors,
instead set a flag that skips the listening socket from the poll()
event loop. The flag is cleared whenever a file descriptor is closed
allowing accept() to be retried.
Explained by deraadt@
2012-03-29 22:13:49 +02:00
Alexandre Ratchov b0d03532fc use sig_atomic_t in signals 2011-04-28 00:41:43 +02:00
Alexandre Ratchov f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00