Browse Source

Do not reconnect vmask clients to global proxies that don't support it.

master
Con Kolivas 7 years ago
parent
commit
8d1eac3aea
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -2646,6 +2646,10 @@ static void reconnect_global_clients(sdata_t *sdata)
continue; continue;
if (!client->authorised) if (!client->authorised)
continue; continue;
/* Does the client mandate a vmask but the best proxy not
* support it? */
if (client->vmask && !proxy->version_mask)
continue;
/* Is this client bound to a dead proxy? */ /* Is this client bound to a dead proxy? */
if (!client->reconnect) { if (!client->reconnect) {
/* This client is bound to a user proxy */ /* This client is bound to a user proxy */

Loading…
Cancel
Save