mirror of https://github.com/ericonr/sndio.git
reset slowaccept upon socket close
This commit is contained in:
parent
fc179fb0c0
commit
2327821cf0
|
@ -153,6 +153,7 @@ sock_close(struct sock *f)
|
|||
}
|
||||
file_del(f->file);
|
||||
close(f->fd);
|
||||
file_slowaccept = 0;
|
||||
xfree(f);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue