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/26 01:28:04 UTC

DO NOT REPLY [Bug 16426] New: - Ignoring user abort

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

Ignoring user abort

           Summary: Ignoring user abort
           Product: Apache httpd-2.0
           Version: 2.0.44
          Platform: PC
               URL: http://www.mpfreescene.com/
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: neil@mpfreescene.com


This has been an ongoing problem throughout the entire life of the 2.x 
releases.  Apache 2.x seems to be ignoring user aborts[i.e. the user presses 
stop].

I assumed this would be related to the problem of apache 2.x not logging 
properly and when people stop downloads the log files log the whole file as 
being downloaded.

The main problem arrises when using php's connection_status().  I have reported 
this bug to php many times, but it is proven to work fine on apache 1.x, when 
running apache 2.x, allowing a script to run on and keep checking the 
connection_status but timing out after 10 seconds by default, the result 
returned is always status 0, connection finished normally, even though the stop 
button was pressed.

This all works fine on apache 1.x.


My examples are as follows :-


Working apache 1.x test script [ http://www.mghost.net/~neil/ ] run and then 
press stop button, a "1" will be appened to 
http://www.mghost.net/~neil/test/output.txt which you can clearly see for 
yourself, this is the correct result as 1 is user abort.

Not working apache 2.0.44 [ http://www.mpfreescene.com/test/ ] run and then 
press stop button, after about 10 seconds, a "0" will be appeneded to the file 
http://www.mpfreescene.com/test/output.txt, this is incorrect as the script 
should have shut down on the user abort and appened a "1".

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