mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
tpws: remote duplicate if
This commit is contained in:
parent
46284938ce
commit
033043bdc0
@ -495,8 +495,11 @@ static bool connect_remote_conn(tproxy_conn_t *conn)
|
|||||||
bool bHostExcluded;
|
bool bHostExcluded;
|
||||||
conn->track.b_host_matches = HostlistCheck(conn->track.dp, conn->track.hostname, &bHostExcluded, false);
|
conn->track.b_host_matches = HostlistCheck(conn->track.dp, conn->track.hostname, &bHostExcluded, false);
|
||||||
conn->track.b_host_checked = true;
|
conn->track.b_host_checked = true;
|
||||||
if (!conn->track.b_host_matches) conn->track.b_ah_check = !bHostExcluded;
|
if (!conn->track.b_host_matches)
|
||||||
if (!conn->track.b_host_matches) mss = 0;
|
{
|
||||||
|
conn->track.b_ah_check = !bHostExcluded;
|
||||||
|
mss = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1676,7 +1679,6 @@ int event_loop(const int *listen_fd, size_t listen_fd_ct)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
DBGPRINT("conn fd=%d has no unsent\n", conn->fd);
|
DBGPRINT("conn fd=%d has no unsent\n", conn->fd);
|
||||||
conn->bFlowIn = false;
|
conn->bFlowIn = false;
|
||||||
epoll_update_flow(conn);
|
epoll_update_flow(conn);
|
||||||
|
Loading…
Reference in New Issue
Block a user