Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#65 http header content length mismatch with real length

0.60
closed-out-of-date
Byrne Reese
Transport (26)
5
2008-09-21
2005-01-12
ced
No

perl version
This is perl, v5.8.0 built for i586-linux-thread-multi
SOAP::Lite::Vesrion=0.60
XML::Parser::VERSION=2.34

the content length in the Http header is greater than
the actual content length.
The different tag content are utf8
problem seems to be solved with following quick hack

line 390
BEGIN {
sub bytelength;
# eval ( eval('use bytes; 1') # 5.6.0 and later?
# ? 'sub bytelength { use bytes; length(@_ ? $_[0] :
$_) }; 1'
# : 'sub bytelength { length(@_ ? $_[0] : $_) }; 1'
# ) or die;

replaced by
BEGIN {
sub bytelength;
eval ('sub bytelength { length(@_ ? $_[0] : $_) };
1') or die;
}

perhaps related to BUG 1085303

Discussion

  • Martin Kutter
    Martin Kutter
    2008-09-21

    This one seems to be fixed since 0.710.03.

    Thanks for reporting,

    Martin

     
  • Martin Kutter
    Martin Kutter
    2008-09-21

    • status: open --> closed-out-of-date