Browse Source

Fix passthrough.

master
Con Kolivas 6 years ago
parent
commit
c0e7126bf1
  1. 4
      src/generator.c

4
src/generator.c

@ -1,5 +1,5 @@
/* /*
* Copyright 2014-2017 Con Kolivas * Copyright 2014-2018 Con Kolivas
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free * under the terms of the GNU General Public License as published by the Free
@ -2324,6 +2324,8 @@ static void *passthrough_recv(void *arg)
rename_proc("passrecv"); rename_proc("passrecv");
proxi->parent = proxi;
if (proxy_alive(ckp, proxi, cs, false)) if (proxy_alive(ckp, proxi, cs, false))
LOGWARNING("Passthrough proxy %d:%s connection established", proxi->id, proxi->url); LOGWARNING("Passthrough proxy %d:%s connection established", proxi->id, proxi->url);
alive = proxi->alive; alive = proxi->alive;

Loading…
Cancel
Save