Github user ericcarlschwartz commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/182#discussion_r26780107
  
    --- Diff: proxy/http/HttpTransact.cc ---
    @@ -5522,7 +5527,10 @@ 
HttpTransact::initialize_state_variables_from_request(State* s, HTTPHdr* obsolet
     
       if (!s->server_info.name || s->redirect_info.redirect_in_process) {
         s->server_info.name = s->arena.str_store(host_name, host_len);
    -    s->server_info.port = incoming_request->port_get();
    +    ats_ip_copy(&s->server_info.dst_addr, &s->request_data.src_ip); 
//initialize w/ junk
    +    s->server_info.dst_addr.port() = incoming_request->port_get();
    +    ip_port_text_buffer ip_s;
    +    DebugTxn("http_trans", "init_from_request server: %s port: %d incoming 
port: %d", ats_ip_nptop(&s->server_info.dst_addr.sa, ip_s, sizeof(ip_s)), 
s->server_info.dst_addr.port(), incoming_request->port_get());
    --- End diff --
    
    i found these additional messages in the debug logs to be very helpful but 
can drop them if others want them gone.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to