mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-02 14:40:52 +03:00
create_ipset return code fix
This commit is contained in:
parent
5a75188430
commit
7227c136d8
@ -20,6 +20,7 @@ do
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
create_ipset $ZIPSET $ZIPLIST $ZIPLIST_USER
|
create_ipset $ZIPSET $ZIPLIST $ZIPLIST_USER
|
||||||
|
@ -235,6 +235,9 @@ bool handle_epollin(tproxy_conn_t *conn, int *data_transferred) {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("Data block does not look like http request start\n");
|
printf("Data block does not look like http request start\n");
|
||||||
|
|
||||||
|
// this is the only parameter applicable to non-http block (may be https ?)
|
||||||
|
if (params.split_pos<bs) split_pos = params.split_pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (split_pos)
|
if (split_pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user