MCPcopy Create free account
hub / github.com/apache/trafficserver / update_current_info

Function update_current_info

src/proxy/http/HttpTransact.cc:538–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536}
537
538inline static void
539update_current_info(HttpTransact::CurrentInfo *into, HttpTransact::ConnectionAttributes *from,
540 ResolveInfo::UpstreamResolveStyle who, bool clear_retry_attempts)
541{
542 into->request_to = who;
543 into->server = from;
544 if (clear_retry_attempts) {
545 into->retry_attempts.clear();
546 }
547}
548
549inline static void
550update_dns_info(ResolveInfo *dns, HttpTransact::CurrentInfo *from)

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected