[libwww-perl] 02/03: add patch from Michael Shields disabling non-blocking socket I/O

Damyan Ivanov dmn at moszumanska.debian.org
Fri Apr 11 21:11:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository libwww-perl.

commit ab5ec34c8d983d5e36578a2eefd23b9ac2a20a4d
Author: Damyan Ivanov <dmn at debian.org>
Date:   Fri Apr 11 21:09:43 2014 +0000

    add patch from Michael Shields disabling non-blocking socket I/O
    
    This requires handling of EINPROGRESS, which is not present.
    Closes: #216821
---
 debian/patches/drop-non-blocking-socket.patch | 18 ++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/drop-non-blocking-socket.patch b/debian/patches/drop-non-blocking-socket.patch
new file mode 100644
index 0000000..b6c4d9c
--- /dev/null
+++ b/debian/patches/drop-non-blocking-socket.patch
@@ -0,0 +1,18 @@
+Description: drop $sock->blocking(0) call, requires handling of EINPROGRESS
+Author: Michael Shields <shields at msrl.com>
+Reviewed-By: Damyan Ivanov <dmn at debian.org>
+Bug-Debian: https://bugs.debian.org/216821
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=43719
+
+--- a/lib/LWP/Protocol/http.pm
++++ b/lib/LWP/Protocol/http.pm
+@@ -41,9 +41,6 @@ sub _new_socket
+ 	die "$status\n\n$@";
+     }
+ 
+-    # perl 5.005's IO::Socket does not have the blocking method.
+-    eval { $sock->blocking(0); };
+-
+     $sock;
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index a3ba2d6..8f66dda 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix-htts-proxy
 ipv6-http-proxy.patch
+drop-non-blocking-socket.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-perl.git



More information about the Pkg-perl-cvs-commits mailing list