p5-SOAP-Lite-0.712_2

Dmitry Krikov unknown at masterhost.ru
Thu Aug 4 08:23:00 UTC 2011


Hi,

It seems we have a problem with original  SOAP::Lite, it's described here: http://www.perlmonks.org/?node_id=845843

I've faced this problem too, and the proposed patch seems to work well:
=================================================================
--- SOAP/Transport/HTTP.pm.orig 2011-08-03 21:45:00.000000000 +0400
+++ SOAP/Transport/HTTP.pm      2011-08-03 21:45:33.000000000 +0400
@@ -566,7 +566,7 @@
         if ( !$chunked ) {
             my $buffer;
             binmode(STDIN);
-            while ( sysread( STDIN, $buffer, $length ) ) {
+            while ( read( STDIN, $buffer, $length ) ) {
                 $content .= $buffer;
                 last if ( length($content) >= $length );
             }
=================================================================

 I think it's good idea to add it to port to fix the problem. Thanks in advance.

--
Best regards,
Dmitry V Krikov
mailto:unknown at masterhost.ru



More information about the freebsd-perl mailing list