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
2 changes: 2 additions & 0 deletions proxy/http/HttpSM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7859,6 +7859,8 @@ HttpSM::redirect_request(const char *redirect_url, const int redirect_len)
// we have a new OS and need to have DNS lookup the new OS
t_state.dns_info.lookup_success = false;
t_state.force_dns = false;
t_state.server_info.clear();
t_state.parent_info.clear();

if (t_state.txn_conf->cache_http) {
t_state.cache_info.object_read = nullptr;
Expand Down
10 changes: 8 additions & 2 deletions proxy/http/HttpTransact.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,14 @@ class HttpTransact
port_attribute(HttpProxyPort::TRANSPORT_DEFAULT),
is_transparent(false)
{
memset(&src_addr, 0, sizeof(src_addr));
memset(&dst_addr, 0, sizeof(dst_addr));
clear();
}
void
clear()
{
ink_zero(src_addr);
ink_zero(dst_addr);
connect_result = 0;
}
};

Expand Down