Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions proxy/http/HttpTransact.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2620,8 +2620,7 @@ HttpTransact::HandleCacheOpenReadHitFreshness(State *s)
case FRESHNESS_STALE:
TxnDebug("http_seq", "[HttpTransact::HandleCacheOpenReadHitFreshness] "
"Stale in cache");
s->cache_lookup_result = HttpTransact::CACHE_LOOKUP_HIT_STALE;
s->is_revalidation_necessary = true; // to identify a revalidation occurrence
s->cache_lookup_result = HttpTransact::CACHE_LOOKUP_HIT_STALE;
break;
default:
ink_assert(!("what_is_document_freshness has returned unsupported code."));
Expand Down
1 change: 0 additions & 1 deletion proxy/http/HttpTransact.h
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ class HttpTransact
HostDBApplicationInfo::HttpVersion updated_server_version = HostDBApplicationInfo::HTTP_VERSION_UNDEFINED;
bool force_dns = false;
MgmtByte cache_open_write_fail_action = 0;
bool is_revalidation_necessary = false; // Added to check if revalidation is necessary - YTS Team, yamsat
ConnectionAttributes client_info;
ConnectionAttributes parent_info;
ConnectionAttributes server_info;
Expand Down