Browse Source

Send only the parent proxy id from the generator to the stratifier

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

4
src/generator.c

@ -1818,13 +1818,11 @@ reconnect:
if (proxi != cproxy) {
proxi = cproxy;
if (!ckp->passthrough) {
proxy_instance_t *proxy = proxi->proxy;
connsock_t *cs = proxi->cs;
LOGWARNING("Successfully connected to proxy %d %s:%s as proxy",
proxi->id, cs->url, cs->port);
dealloc(buf);
ASPRINTF(&buf, "proxy=%d:%d", proxy->id, proxi->id);
ASPRINTF(&buf, "proxy=%d", proxi->id);
send_proc(ckp->stratifier, buf);
}
}

Loading…
Cancel
Save