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=38340>.
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=38340

           Summary: mod_proxy_ajp does not support support common headers
                    (0xA0??)
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


mod_proxy_ajp does not support support common header codes (0xA0??) described 
in http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html.en#resppacketstruct 
 
HOW TO REPEAT: 
use with tomcat 4.0: 
[Fri Jan 20 14:07:48 2006] [debug] mod_proxy_ajp.c(195): proxy: 
APR_BUCKET_IS_EOS 
[Fri Jan 20 14:07:48 2006] [debug] mod_proxy_ajp.c(200): proxy: data to read 
(max 8186 at 4) 
[Fri Jan 20 14:07:48 2006] [debug] mod_proxy_ajp.c(215): proxy: got 0 bytes of 
data 
[Fri Jan 20 14:07:51 2006] [debug] ajp_header.c(643): ajp_read_header: 
ajp_ilink_received 04 
[Fri Jan 20 14:07:51 2006] [debug] ajp_header.c(653): ajp_parse_type: got 04 
[Fri Jan 20 14:07:51 2006] [debug] ajp_header.c(484): ajp_unmarshal_response: 
status = 200 
[Fri Jan 20 14:07:51 2006] [debug] ajp_header.c(495): ajp_unmarshal_response: 
Number of headers is = 2 
[Fri Jan 20 14:07:51 2006] [error] ajp_msg_get_string(): 
BufferOverflowException 16 55 
[Fri Jan 20 14:07:51 2006] [error] ajp_unmarshal_response: Null header value 
[Fri Jan 20 14:07:51 2006] [error] (120001)APR does not understand this error 
code: proxy: send body failed to (null) (localhost) 
[Fri Jan 20 14:07:51 2006] [debug] proxy_util.c(1769): proxy: AJP: has 
released connection for (localhost) 
 
The problem is in responce packet parsing code. 
 
HOW TO FIX: 
Apply patch: 
--- ajp_header.c.ORIG   Fri Jan 20 15:15:58 2006 
+++ ajp_header.c        Fri Jan 20 15:39:33 2006 
@@ -506,7 +506,7 @@ 
         } 
 
         if ((name & 0XFF00) == 0XA000) { 
-            ajp_msg_peek_uint16(msg, &name); 
+            ajp_msg_get_uint16(msg, &name); 
             stringname = long_res_header_for_sc(name); 
             if (stringname == NULL) { 
                 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to