[Privoxy-devel] Query on Privoxy use case
Punit Mittal
thepunitone at gmail.com
Thu Oct 13 15:18:19 UTC 2016
Hello guys,
I have been using Privoxy (3.0.23) since last few months and it has been
working smoothly. Great work!
Now I am trying to get it working for a different use-case. Below is my
understanding so far:
I am using Privoxy to forward all the requests as SOCKS5 to one of my
servers (let's say S1). I have configured Privoxy to use keep-alive, thus
its reusing the socket connections.
Now, suppose I change the Privoxy config to forward all the requests to
another server(S2). Privoxy picks up the config change and for new
requests, it will make new connections to S2.
However, Privoxy still re-uses the old socket connections to S1 from its
pool (if upstream host-port is same). This goes on until old socket
connections are timed-out and after that, Privoxy opens new connections as
per the updated config.
Is there a way to close all the old sockets gracefully without restarting
the Privoxy?
Hoping that I was able to explain clearly. I tried searching for more info
but no luck there.
--
Punit Mittal
More information about the Privoxy-devel
mailing list