From c0e7126bf160e74e387729b7d54d8fad7d189c51 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 15 Aug 2018 14:34:46 +1000 Subject: [PATCH] Fix passthrough. --- src/generator.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index 8016b437..04d36d2c 100644 --- a/src/generator.c +++ b/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 * 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"); + proxi->parent = proxi; + if (proxy_alive(ckp, proxi, cs, false)) LOGWARNING("Passthrough proxy %d:%s connection established", proxi->id, proxi->url); alive = proxi->alive;