r5138 - in /packages/libdanga-socket-perl/trunk: CHANGES Danga-Socket.spec MANIFEST META.yml Socket.pm debian/changelog examples/

eloy at users.alioth.debian.org eloy at users.alioth.debian.org
Wed Apr 18 09:01:23 UTC 2007


Author: eloy
Date: Wed Apr 18 09:01:23 2007
New Revision: 5138

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=5138
Log:
new upstream version

Added:
    packages/libdanga-socket-perl/trunk/Danga-Socket.spec
      - copied unchanged from r5137, packages/libdanga-socket-perl/branches/upstream/current/Danga-Socket.spec
    packages/libdanga-socket-perl/trunk/examples/
      - copied from r5137, packages/libdanga-socket-perl/branches/upstream/current/examples/
Modified:
    packages/libdanga-socket-perl/trunk/CHANGES
    packages/libdanga-socket-perl/trunk/MANIFEST
    packages/libdanga-socket-perl/trunk/META.yml
    packages/libdanga-socket-perl/trunk/Socket.pm
    packages/libdanga-socket-perl/trunk/debian/changelog

Modified: packages/libdanga-socket-perl/trunk/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdanga-socket-perl/trunk/CHANGES?rev=5138&op=diff
==============================================================================
--- packages/libdanga-socket-perl/trunk/CHANGES (original)
+++ packages/libdanga-socket-perl/trunk/CHANGES Wed Apr 18 09:01:23 2007
@@ -1,3 +1,8 @@
+1.57
+   -- Make tcp_cork be a no-op (rather than exploding) when operating on
+      a fd that isn't a network socket (like a local pipe, which doesn't do
+      TCP).
+
 1.56
    -- Reset method _still_ wasn't resetting enough.  had to reset the
       EventLoop method as well, so _InitPoller would get called and reset

Modified: packages/libdanga-socket-perl/trunk/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdanga-socket-perl/trunk/MANIFEST?rev=5138&op=diff
==============================================================================
--- packages/libdanga-socket-perl/trunk/MANIFEST (original)
+++ packages/libdanga-socket-perl/trunk/MANIFEST Wed Apr 18 09:01:23 2007
@@ -1,10 +1,12 @@
+CHANGES
+Danga-Socket.spec
 Makefile.PL
-CHANGES
 MANIFEST
+META.yml			Module meta-data (added by MakeMaker)
 Socket.pm
-META.yml                                 Module meta-data (added by MakeMaker)
 t/00-use.t
 t/05-postloop.t
 t/10-events.t
 t/12-closerace.t
-
+examples/subprocess/example.pl
+examples/subprocess/test.pl

Modified: packages/libdanga-socket-perl/trunk/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdanga-socket-perl/trunk/META.yml?rev=5138&op=diff
==============================================================================
--- packages/libdanga-socket-perl/trunk/META.yml (original)
+++ packages/libdanga-socket-perl/trunk/META.yml Wed Apr 18 09:01:23 2007
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Danga-Socket
-version:      1.56
+version:      1.57
 version_from: Socket.pm
 installdirs:  site
 requires:

Modified: packages/libdanga-socket-perl/trunk/Socket.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdanga-socket-perl/trunk/Socket.pm?rev=5138&op=diff
==============================================================================
--- packages/libdanga-socket-perl/trunk/Socket.pm (original)
+++ packages/libdanga-socket-perl/trunk/Socket.pm Wed Apr 18 09:01:23 2007
@@ -100,7 +100,7 @@
 my $opt_bsd_resource = eval "use BSD::Resource; 1;";
 
 use vars qw{$VERSION};
-$VERSION = "1.56";
+$VERSION = "1.57";
 
 use warnings;
 no  warnings qw(deprecated);
@@ -823,8 +823,11 @@
             # we're not closed already
             warn "setsockopt: $!";
             $self->close('tcp_cork_failed');
-        } elsif ($! == ENOPROTOOPT) {
+        } elsif ($! == ENOPROTOOPT || $!{ENOTSOCK} || $!{EOPNOTSUPP}) {
             # TCP implementation doesn't support corking, so just ignore it
+            # or we're trying to tcp-cork a non-socket (like a socketpair pipe
+            # which is acting like a socket, which Perlbal does for child
+            # processes acting like inetd-like web servers)
         } else {
             # some other error; we should never hit here, but if we do, die
             die "setsockopt: $!";

Modified: packages/libdanga-socket-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libdanga-socket-perl/trunk/debian/changelog?rev=5138&op=diff
==============================================================================
--- packages/libdanga-socket-perl/trunk/debian/changelog (original)
+++ packages/libdanga-socket-perl/trunk/debian/changelog Wed Apr 18 09:01:23 2007
@@ -1,3 +1,9 @@
+libdanga-socket-perl (1.57-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Wed, 18 Apr 2007 11:00:54 +0200
+
 libdanga-socket-perl (1.56-1) unstable; urgency=low
 
   * New upstream release




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