diff --git a/ipset/create_ipset.sh b/ipset/create_ipset.sh index 6ec6096..3251c87 100755 --- a/ipset/create_ipset.sh +++ b/ipset/create_ipset.sh @@ -20,6 +20,7 @@ do fi } done +return 0 } create_ipset $ZIPSET $ZIPLIST $ZIPLIST_USER diff --git a/tpws/tpws.c b/tpws/tpws.c index b22e844..529fef8 100644 --- a/tpws/tpws.c +++ b/tpws/tpws.c @@ -235,6 +235,9 @@ bool handle_epollin(tproxy_conn_t *conn, int *data_transferred) { else { 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