mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
tpws: remove redundant partner alive check
This commit is contained in:
parent
47cabddbd4
commit
438baf508a
@ -963,7 +963,7 @@ static bool handle_epoll(tproxy_conn_t *conn, struct tailhead *conn_list, uint32
|
|||||||
if (numbytes>0)
|
if (numbytes>0)
|
||||||
{
|
{
|
||||||
#ifdef SPLICE_PRESENT
|
#ifdef SPLICE_PRESENT
|
||||||
if (!params.tamper || conn->remote && conn_partner_alive(conn) && conn->partner->track.bTamperInCutoff)
|
if (!params.tamper || conn->remote && conn->partner->track.bTamperInCutoff)
|
||||||
{
|
{
|
||||||
// incoming data from remote leg we splice without touching
|
// incoming data from remote leg we splice without touching
|
||||||
// pipe is in the local leg, so its in conn->partner->splice_pipe
|
// pipe is in the local leg, so its in conn->partner->splice_pipe
|
||||||
|
Loading…
Reference in New Issue
Block a user