Package: libhttp-proxy-perl / 0.304-3

Metadata

Package Version Patches format
libhttp-proxy-perl 0.304-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
hashbang.patch | (download)

eg/flv.pl | 2 1 + 1 - 0 !
eg/js.pl | 1 1 + 0 - 0 !
eg/rfc.pl | 1 1 + 0 - 0 !
3 files changed, 3 insertions(+), 1 deletion(-)

 add/fix hashbangs in example scripts
0001 Work around LWP UserAgent Net HTTP buffering.patch | (download)

t/23connect.t | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] work around lwp::useragent / net::http buffering

It's possible for the LWP::UserAgent request() call to get both the
headers and (parts of) the body in the same read(2) call. When that
happens, Net::HTTP (as used by LWP::UserAgent) will buffer the body,
but the explicit read() call on the socket bypasses this buffering,
resulting in empty data.

Mark the resulting test failures as TODO by breaking encapsulation and
peeking in the Net::HTTP buffer. Note that this is a hack and not a
proper fix.

Bug-Debian: https://bugs.debian.org/798792
Bug: https://github.com/book/HTTP-Proxy/issues/7

no network.patch | (download)

t/Utils.pm | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 don't try to connect to network when no_network is set
spelling.patch | (download)

lib/HTTP/Proxy/BodyFilter/simple.pm | 2 1 + 1 - 0 !
lib/HTTP/Proxy/HeaderFilter/simple.pm | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix typos