summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
662bdcd)
at EOF -- it should be a rapidly arriving event, so only hang around
for 10 seconds, max., and then go ahead and report the "unexpectedly
closed" error.
static void whine_about_eof(int fd)
{
if (kluge_around_eof && fd == sock_f_in) {
static void whine_about_eof(int fd)
{
if (kluge_around_eof && fd == sock_f_in) {
if (kluge_around_eof > 0)
exit_cleanup(0);
if (kluge_around_eof > 0)
exit_cleanup(0);
+ /* If we're still here after 10 seconds, exit with an error. */
+ for (i = 10*1000/20; i--; )