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

413 errors not returned to browser - also fails to server errordocument if 
present

           Summary: 413 errors not returned to browser - also fails to
                    server errordocument if present
           Product: Apache httpd-2.0
           Version: 2.0.44
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If a 413 error is encountered no response is sent to the client
If an ErrorDocument directive for 413 is present in httpd.conf the request 
either blocks if the ErrorDocument is a URL or closes the connection if the 
errordocument is text.

I have a LimitRequestBody of 10000240.  I have created a simple file upload 
page to reproduce the problem :-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<title>Error</title>
</head>
<body marginheight="0" marginwidth="0" rightmargin="0" topmargin="0" 
leftmargin="0" bottommargin="0">
<form id="attachForm" name="attachForm" enctype="multipart/form-data" 
method="post" action="/html/test413.html">
        <BR><input class="browseAttach" name="file" size="25" type="file">
        <P><INPUT TYPE="submit" VALUE="Upload file" METHOD="post">
</form>
</body>
</html>

Selecting a file > 10000240 causes the problem to occur.

I have used a http sniffer to check what's being sent and when a 413 error 
occurs no response is returned from apache.

I have tried this with a 1.3 version of Apache and all works as expected.

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

Reply via email to