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

WriteClient returns TRUE on aborted connection

           Summary: WriteClient returns TRUE on aborted connection
           Product: Apache httpd-2.0
           Version: 2.0.50
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_isapi
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If a web-client aborts the connection to the web-server while downloading via 
ISAPI, the WriteClient-Function called by the DLL returns TRUE. (IIS returns 
FALSE.)
So the "download to nowhere" continues and the processor usage goes up to ~25% 
(on a 1GHz-machine).
A GetLastError-Call returns 10054 (connection closed by...) - but why should 
one check GetLastError if the called function signs "ok"?
Possible DOS-Attack: If you now it's via ISAPI: just start a lot of long 
dowloads and abort them...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to