This is an automated email from the ASF dual-hosted git repository.
paziz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 9114ec6 Negative Caching should not happen on 400 Bad Request
9114ec6 is described below
commit 9114ec6a306c3fbba711547c539a0250d58c5b20
Author: Syeda Persia Aziz <[email protected]>
AuthorDate: Fri Jun 8 16:58:38 2018 -0500
Negative Caching should not happen on 400 Bad Request
---
proxy/http/HttpTransact.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 80a8a0f..f9ee1f7 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -242,7 +242,6 @@ is_negative_caching_appropriate(HttpTransact::State *s)
switch (s->hdr_info.server_response.status_get()) {
case HTTP_STATUS_NO_CONTENT:
case HTTP_STATUS_USE_PROXY:
- case HTTP_STATUS_BAD_REQUEST:
case HTTP_STATUS_FORBIDDEN:
case HTTP_STATUS_NOT_FOUND:
case HTTP_STATUS_METHOD_NOT_ALLOWED:
--
To stop receiving notification emails like this one, please contact
[email protected].