Package: libnet-http-perl / 6.03-2


Package Version Patches format
libnet-http-perl 6.03-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix_chunked_decoding_674788.diff | (download)

lib/Net/HTTP/ | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix a problem with chunked decoding
 If the first read after a chunk header returns EAGAIN or EINTR, the
 chunked state stored in the client object doesn't get updated, so the
 next call to ->read_entity_body tries to read the chunk header again,
 and gives a "Missing newline after chunk data" error.
 This fixes it by updating ${*$self}{'http_chunked'} immediately after
 the chunk header has been read, so that the state persist to the next