Browse Source

Set the reconnect time on a proxy when a read socket detects a disconnection

master
Con Kolivas 10 years ago
parent
commit
4cd554a238
  1. 1
      src/generator.c

1
src/generator.c

@ -1851,6 +1851,7 @@ static void *proxy_recv(void *arg)
}
if (ret < 1) {
if (parent_proxy(subproxy)) {
proxi->reconnect_time = time(NULL);
alive = false;
LOGWARNING("Proxy %d:%s failed to epoll/read_socket_line in proxy_recv, attempting reconnect",
subproxy->id, subproxy->si->url);

Loading…
Cancel
Save