On 26/04/14 18:49, John Hughes wrote:

     if (ref($content_ref) eq 'CODE') {
         my $buf = &$content_ref();
         $buf = "" unless defined($buf);
+        utf8::downgrade ($buf);
         $buf = sprintf "%x%s%s%s", length($buf), $CRLF, $buf, $CRLF
         if $chunked;
         substr($buf, 0, 0) = $req_buf if $req_buf



But that's the wrong place to fix it. The bug is realy in $socket->syswrite, aka Crypt::SSLeay::Conn::write.

That's where the bug should be fixed.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to