You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/01/12 20:01:41 UTC

DO NOT REPLY [Bug 16008] New: - Damaged CGI output with larger (html) code than 64kb

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16008>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16008

Damaged CGI output with larger (html) code than 64kb

           Summary: Damaged CGI output with larger (html) code than 64kb
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Platform
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: perlsite@mail.bg


This issue happend with httpd-2.0 (all version I've tried) under Windows XP 
and Win98 and also located in some of ver. of 1.3, however Apache 1.3.24 and 
1.3.27 working fine! (under Unix/Linux no problems found!)
No special directives/modules are used.
When I'm using Perl script (different Perl's distibutions I've tried: 5.6; 
5.8 -> ActivePerl and Perl+Apache+Openssl binary distribution) a problem 
occure using follow test field/scheme:
1. I've hold total output in one variable (for example $a = '...large..data'; 
for example 80kb - Perl handle these data correct!)
2. Print data to browser: print $a... ofcource any headers are sent and 
so..on! This problem does not exists with in 1.3.24 and 1.3.27 but in all 2.x 
I've examed!
3. Also I've tried to send data in small parts for example in blocks of 4kb 
(Also I've tried to play with buffered - non-buffered mode $|... but no 
effect!)
4. When I've print small pages everything is ok!
5. Surprice! When I've print large data in small blocks (1kb) and "sleep" 
after every block in (0.3s) per block...Apache seem to handle output 
correctly!?
6. Binry/non-binary (STDOUT) take's NO effect - problem still exists!
7. The same effect occures in all tested browsers!

EFFECT:
1. Data printed in browser is damaged! Data contain "strange" charaters, html 
tags are damaged. Damages are random! Page can't be displayed correctly. Some 
of browser's try to refresh page in infinite loop (try to display page..and 
it "notice" that something wrong..and try to re-open page...IE can't 
stop..till I hit "stop" button).
2. Strage.. when I'v print normal html page (large) everything's fine!
3. When I've download file (via PERL script... also large file. It's NOT 
damaged!) - Is it MIME-based problem?

I've tried all my knowlages in Perl to handle this problem, but finnaly I've 
understand that this problem exists only in some Apache's version (I believe 
that problem does not exists anymore in 1.3.27 destribution and will not be 
available in next versions), but ver. 2.0.43 this problem still occure when 
I've print large amount of data (~60 kb or more). I believe that, this problem 
is critical to all 2.x Apaches under Windows.
Thank's for reading this bug issue.

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