Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2011 12:07:25 +0800
From:      wen heping <wenheping@gmail.com>
To:        Dmitry Krikov <unknown@masterhost.ru>
Cc:        "perl@freebsd.org" <perl@freebsd.org>
Subject:   Re: p5-SOAP-Lite-0.712_2
Message-ID:  <CACi7718xJo-0qP17rbgEZ7ny6GrvhtAu7R9mC-by1aNOw5mauw@mail.gmail.com>
In-Reply-To: <C4B279F33ED20A4C9E7501AA74D7DC421D7D705A@mailbox1.team.masterhost.ru>
References:  <AcxSfU1cIi0NIzB0Sju5TDXU9BRGhA==> <C4B279F33ED20A4C9E7501AA74D7DC421D7D705A@mailbox1.team.masterhost.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

Now this patch had been included in 0.714.

We should update it.

wen

2011/8/4 Dmitry Krikov <unknown@masterhost.ru>:
>
> 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@masterhost.ru
>
> _______________________________________________
> freebsd-perl@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-perl
> To unsubscribe, send any mail to "freebsd-perl-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACi7718xJo-0qP17rbgEZ7ny6GrvhtAu7R9mC-by1aNOw5mauw>