diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-02-08 14:34:48 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-02-08 14:34:48 +0100 |
commit | c259669fa33ca13b5c6ae60eb8ffa0874ddc01b2 (patch) | |
tree | 09003c2fa4d614b1e4f1fb10d16fba21acb56b4d /sysdep/unix | |
parent | 82f42ea09176afdb67ab119258d714e8c8e54d12 (diff) | |
parent | da65a3d898fde0ce567782d86919a66e29916ed7 (diff) |
Merge branch 'master' into int-new
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index c8916378..6722fc69 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2631,7 +2631,8 @@ io_loop(void) if (pfd[s->index].revents & (POLLHUP | POLLERR)) { sk_err(s, pfd[s->index].revents); - goto next2; + if (s != current_sock) + goto next2; } current_sock = sk_next(s); |