Date: Thu, 4 Aug 2011 08:12:01 +0000 From: Dmitry Krikov <unknown@masterhost.ru> To: "perl@freebsd.org" <perl@freebsd.org> Subject: p5-SOAP-Lite-0.712_2 Message-ID: <C4B279F33ED20A4C9E7501AA74D7DC421D7D705A@mailbox1.team.masterhost.ru>
next in thread | raw e-mail | index | archive | help
Hi, It seems we have a problem with original SOAP::Lite, it's described here: = http://www.perlmonks.org/?node_id=3D845843 I've faced this problem too, and the proposed patch seems to work well: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 .=3D $buffer; last if ( length($content) >=3D $length ); } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I think it's good idea to add it to port to fix the problem. Thanks in adv= ance. -- Best regards, Dmitry V Krikov mailto:unknown@masterhost.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C4B279F33ED20A4C9E7501AA74D7DC421D7D705A>