Browse Source

tpws: do not use split if split pos at the end of the buffer

pull/181/head
bol-van 1 year ago
parent
commit
421f0505b9
  1. 2
      tpws/tpws_conn.c

2
tpws/tpws_conn.c

@ -1076,7 +1076,7 @@ static bool handle_epoll(tproxy_conn_t *conn, struct tailhead *conn_list, uint32
conn->tnrd++;
conn->trd+=rd;
if (split_pos && bs<=sizeof(buf))
if (split_pos && bs<sizeof(buf))
{
VPRINT("Splitting at pos %zu%s", split_pos, (split_flags & SPLIT_FLAG_DISORDER) ? " with disorder" : "")

Loading…
Cancel
Save