reset slowaccept upon socket close

This commit is contained in:
Alexandre Ratchov 2015-12-09 11:24:15 +01:00
parent fc179fb0c0
commit 2327821cf0
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ sock_close(struct sock *f)
} }
file_del(f->file); file_del(f->file);
close(f->fd); close(f->fd);
file_slowaccept = 0;
xfree(f); xfree(f);
} }