Checkout
jerenkrantz
committed
on 26 Sep 08
Fix issue with chunked keep-alive responses when the initial chunk content
starts with a NULL byte.

* flood_socket_keepalive.c
(keepalive… Show more
Fix issue with chunked keep-alive responses when the initial chunk content

starts with a NULL byte.

* flood_socket_keepalive.c

 (keepalive_read_chunk): Don't inspect resp->chunk with respect to

 validity; re-order comparisons to make a bit more sense.

 (keepalive_recv_resp): Be sure that chunk_length is always initialized.

Show less