Mantis - Quercus
Viewing Issue Advanced Details
3172 feature always 12-13-08 09:35 09-19-23 23:47
koreth  
 
urgent  
new 4.0.0  
open  
none    
none  
0003172: Add switch to ease content-length debugging
If a script outputs a Content-Length header, then something somewhere spits out a bit of unexpected output, you get an error like, "tried to write 220458 bytes with content-length 217387". There should be a way to dump the entire output out to a file when that error happens, so that the output can be examined manually to figure out where the extra data is coming from.

Scott and I discussed having this be a debug switch of some kind, so you don't have the overhead of saving all scripts' output all the time, just when you're trying to track this kind of problem down.

There are no notes attached to this issue.