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 f17e8c9  Removes duplicated validity check
f17e8c9 is described below

commit f17e8c9fa5408ea9f0ba7a7724d0af1ead5f4946
Author: Randall Meyer <[email protected]>
AuthorDate: Tue Jul 3 13:16:04 2018 -0700

    Removes duplicated validity check
    
    (cherry picked from commit 43d495e8439df9759cade694608a1ccf00a29e83)
---
 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()) {

Reply via email to