Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000407 [Resin] minor always 09-28-05 00:00 11-30-05 14:42
Reporter ferg View Status public  
Assigned To
Priority urgent Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000407: chunked encoding for apache 1
Description RSN-453
(rep by Darren Chapman)


We've been having problems with chunked encoding requests (POSTs) using apache 1.3 and mod_caucho. Basically, what we're getting is a 411 response from the server that a content-length is required. This is with version 3.0.6 primarily, but it's also exhibited in 3.0.10.

Looking through the changelogs for mod_caucho on your website, I see that with 3.0.9, there was a fix for a very similar problem in Apache2:

o. Apache2 mod_caucho wasn't accepting chunked encoding (rep by Mandel AndrAcceas)

Was this fix not implemented for the apache 1 module? Does this problem not (or is it not known to) exist in 1.3? Specifically, we're using 1.3.27 and 1.3.33 with the same results. In order to assure that it's not another module causing this problem, we're removed mod_cgi, mod_rewrite and mod_proxy, the other most likely culprits.

I have seen that if I comment out the following code from src/c/plugin/apache/mod_caucho.c, I get a 200 OK response under 3.0.6:

     if ((retval = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR)))
         return retval;

Under 3.0.6, I find the same "if" statement in apache2/mod_caucho.c. Looking at the 3.0.10 version (after the fix described in the changelog above was implemented) that "if" statement no longer appears in apache2/mod_caucho.c, but is still there in apache1/mod_caucho.c. Could this be how (or at least part of how) the fix was implemented?
Additional Information
Attached Files

- Relationships

- Notes
(0000458)
ferg
09-28-05 00:00

ap_setup_client_block needs to change to REQUEST_CHUNKED_DECHUNK.
 

- Issue History
Date Modified Username Field Change
09-28-05 00:00 ferg New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:42 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker