httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39528] New: - ajp_parse_data: Wrong chunk length
Date Tue, 09 May 2006 08:20:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39528>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39528

           Summary: ajp_parse_data: Wrong chunk length
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: edward@linpro.no


the check in modules/proxy/ajp_header.c line 712:
expected_len = msg->len - (AJP_HEADER_LEN + AJP_HEADER_SZ_LEN + 1 + 1);
Is giving me "off by one errors":
[Tue May 09 09:59:58 2006] [error] ajp_parse_data: Wrong chunk length. Length of
chunk is 8186, expected length is 8185.
[Tue May 09 09:59:58 2006] [error] (120007)APR does not understand this error
code: proxy: send body failed to (null) (server)
[Tue May 09 09:59:59 2006] [error] ajp_parse_data: Wrong chunk length. Length of
chunk is 135, expected length is 134.
[Tue May 09 09:59:59 2006] [error] (120007)APR does not understand this error
code: proxy: send body failed to (null) (server)

Changing the line to:
expected_len = msg->len - (AJP_HEADER_LEN + AJP_HEADER_SZ_LEN + 1 );
Makes it work right.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message