You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/10/01 17:01:31 UTC
[trafficserver] branch master updated: clang-format
This is an automated email from the ASF dual-hosted git repository.
bcall 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 94e324d clang-format
94e324d is described below
commit 94e324d2576d6aa52c445a7bc62fcf0ca08030de
Author: Masaori Koshiba <ma...@gmail.com>
AuthorDate: Mon Oct 1 09:06:07 2018 +0900
clang-format
---
proxy/http/HttpTransact.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index cd458e9..8af7555 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -2378,7 +2378,7 @@ HttpTransact::CallOSDNSLookup(State *s)
HostStatus &pstatus = HostStatus::instance();
if (pstatus.getHostStatus(s->server_info.name) == HostStatus_t::HOST_STATUS_DOWN) {
TxnDebug("http", "[HttpTransact::callos] %d ", s->cache_lookup_result);
- s->current.state = OUTBOUND_CONGESTION;
+ s->current.state = OUTBOUND_CONGESTION;
if (s->cache_lookup_result == CACHE_LOOKUP_HIT_STALE || s->cache_lookup_result == CACHE_LOOKUP_HIT_WARNING ||
s->cache_lookup_result == CACHE_LOOKUP_HIT_FRESH) {
s->cache_info.action = CACHE_DO_SERVE;
@@ -2823,7 +2823,7 @@ HttpTransact::build_response_from_cache(State *s, HTTPWarningCode warning_code)
if (s->force_dns) {
HandleCacheOpenReadMiss(s); // DNS is already completed no need of doing DNS
} else {
- CallOSDNSLookup(s);
+ CallOSDNSLookup(s);
}
return;
}