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

           Summary: Apache will crash if SSL and mod_deflate are used and a
                    lot of content is requested twice
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_ssl
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


This problem started with FPDF output taking down the web server. It doesn't
seem to be related to PHP though, but it is possible.

I tracked it down to a more general thing:

1. Enable mod_ssl
2. Enable mod_deflate and use "SetOutputFilter DEFLATE"
3. Create a PHP file and add:

<? sleep (1); ?>

followed by a big chunk of text. For example I used a base64 encoded PDF file,
but it also works with any text and binary content. My test file is about 2 MB
in size, but it also worked with less.

4. Now request that in your Browser (I used Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4) and hit the refresh
button (after half a second) before the response arrives. As an alternative you
can also simply change the page or close your browser window.

5. Apache will crash now (or after about 5 seconds.)

- The error log is empty
- This can always be reproduced. Not that it also works without the sleep, but
is harder to reproduce then. I guess it also works with smaller files, but,
again, it will be harder to reproduce, since the response arrives to fast then.
- It won't happen if either SSL or compression is not used.

-- 
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