[Bug 768394] LWP::UserAgent cuts chunked response sent through HTTPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=768394

Claude Brown <claude@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |claude@xxxxxxxxx

--- Comment #13 from Claude Brown <claude@xxxxxxxxx> ---
I also have experienced this bug in "Net::HTTP" in version 6.02 and after a lot
of debugging over the past few days I found the problem.

Sometimes "Net::HTTP->read_entity_body" assumes that some data will be
immediately available to "sysread" when it needs it.  For a non-blocking socket
this isn't always true.

However, often the code gets away with it because the assumption is made when
reading the "chunk data" just after the "chunk length". Web-servers will often
send these things pretty quickly and so the assumption holds.

I had a look at Net::HTTP 6.05 and the problem has been resolved by ensuring
that "select" is used to wait for the specified timeout period before giving
up.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=RJRx2nGqwq&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux