mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Check NoKeepAliveIsolateSOCKSAuth in a better place.
No functional changes, but since NoKeepAliveIsolateSOCKSAuth isn't part of isoflag, it should be checked where all other similar options are, and bypass the (no-op) masking at the end.
This commit is contained in:
parent
98be93d6d7
commit
f6c446db47
@ -6247,6 +6247,9 @@ parse_port_config(smartlist_t *out,
|
||||
} else if (!strcasecmp(elt, "PreferSOCKSNoAuth")) {
|
||||
prefer_no_auth = ! no;
|
||||
continue;
|
||||
} else if (!strcasecmp(elt, "KeepAliveIsolateSOCKSAuth")) {
|
||||
socks_iso_keep_alive = ! no;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!strcasecmpend(elt, "s"))
|
||||
@ -6262,8 +6265,6 @@ parse_port_config(smartlist_t *out,
|
||||
isoflag = ISO_CLIENTPROTO;
|
||||
} else if (!strcasecmp(elt, "IsolateClientAddr")) {
|
||||
isoflag = ISO_CLIENTADDR;
|
||||
} else if (!strcasecmp(elt, "KeepAliveIsolateSOCKSAuth")) {
|
||||
socks_iso_keep_alive = ! no;
|
||||
} else {
|
||||
log_warn(LD_CONFIG, "Unrecognized %sPort option '%s'",
|
||||
portname, escaped(elt_orig));
|
||||
|
Loading…
Reference in New Issue
Block a user