httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56035] Issue with LimitRequestBody
Date Tue, 21 Jan 2014 03:43:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56035

--- Comment #11 from maapu <kalyanceg@gmail.com> ---
@Yann
But why do we need to call ap_die incase of ap_is_HTTP_VALID_RESPONSE returns
false. Why cant we just call ap_finalize_request_protocol? Will it miss some
cases?
I will try out the patch today


@Eric
printf "POST /index.html HTTP/1.0\r\nContent-Length: 2\r\n\r\nab" | nc x.x.x.x
80

HTTP/1.1 413 Request Entity Too Large
Date: Tue, 21 Jan 2014 03:42:21 GMT
Server: Apache/2.2.3 (CentOS)
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource<br />/index.php<br />
does not allow request data with POST requests, or the amount of data provided
in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.2.3 (CentOS) Server at x.x.x.x Port 80</address>
</body></html>
<html>
<head>
<meta name="robots" content="noarchive" />
<meta name="googlebot" content="nosnippet" />
</head>
<body>
<div align=center>
<h3>Error! Page cannot be displayed. Please contact service provider for more
details.</h3>
</div>
</body>

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message