trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject [trafficserver] 02/02: Removes duplicated validity check
Date Sun, 08 Jul 2018 03:13:33 GMT
This is an automated email from the ASF dual-hosted git repository.

rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 43d495e8439df9759cade694608a1ccf00a29e83
Author: Randall Meyer <randallmeyer@yahoo.com>
AuthorDate: Tue Jul 3 13:16:04 2018 -0700

    Removes duplicated validity check
---
 proxy/http/HttpTransactCache.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/proxy/http/HttpTransactCache.cc b/proxy/http/HttpTransactCache.cc
index 7a6be4e..5febd74 100644
--- a/proxy/http/HttpTransactCache.cc
+++ b/proxy/http/HttpTransactCache.cc
@@ -183,9 +183,6 @@ HttpTransactCache::SelectFromAlternates(CacheHTTPInfoVector *cache_vector,
HTTPH
     fprintf(stderr, "[alts] There are %d alternates for this request header.\n", alt_count);
   }
 
-  if (!client_request->valid()) {
-    return 0;
-  }
   // so that plugins can make cache reads for http
   // docs to check if the doc exists in the cache
   if (!client_request->valid()) {


Mime
View raw message