create_ipset return code fix

This commit is contained in:
bolvan 2017-08-13 13:09:08 +03:00
parent 5a75188430
commit 7227c136d8
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,7 @@ do
fi fi
} }
done done
return 0
} }
create_ipset $ZIPSET $ZIPLIST $ZIPLIST_USER create_ipset $ZIPSET $ZIPLIST $ZIPLIST_USER

View File

@ -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)