Commit efaae317 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Typo: Also monitor remote sockets with the poll based acceptor.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@603 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 16d96dae
......@@ -180,7 +180,7 @@ vca_main(void *arg)
if (heritage.sock_local[u] >= 0)
vca_poll(heritage.sock_local[u]);
if (heritage.sock_remote[u] >= 0)
vca_poll(heritage.sock_local[u]);
vca_poll(heritage.sock_remote[u]);
}
while (1) {
......@@ -203,7 +203,7 @@ vca_main(void *arg)
}
if (heritage.sock_remote[u] >= 0 &&
pollfd[heritage.sock_remote[u]].revents) {
accept_f(heritage.sock_local[u]);
accept_f(heritage.sock_remote[u]);
v--;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment