This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.0.x by this push:
new ef2e5fa Negative Caching should not happen on 400 Bad Request
ef2e5fa is described below
commit ef2e5fafcded1f33092b32de7279da2cd2b582bc
Author: Syeda Persia Aziz <[email protected]>
AuthorDate: Fri Jun 8 16:58:38 2018 -0500
Negative Caching should not happen on 400 Bad Request
(cherry picked from commit 9114ec6a306c3fbba711547c539a0250d58c5b20)
---
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].