Browse Source

Drop proxy reference when socket invalidated

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

1
src/generator.c

@ -1633,6 +1633,7 @@ retry:
if (unlikely(proxi->cs->fd < 0)) { if (unlikely(proxi->cs->fd < 0)) {
LOGWARNING("Upstream socket invalidated, will attempt failover"); LOGWARNING("Upstream socket invalidated, will attempt failover");
proxi = NULL;
goto reconnect; goto reconnect;
} }

Loading…
Cancel
Save