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

    https://github.com/apache/trafficserver/pull/182#discussion_r26779947
  
    --- Diff: proxy/http/HttpTransact.cc ---
    @@ -288,6 +288,8 @@ 
find_server_and_update_current_info(HttpTransact::State* s)
         /* fall through */
       default:
         update_current_info(&s->current, &s->server_info, 
HttpTransact::ORIGIN_SERVER, (s->current.attempts)++);
    +    // TS-2157 must update port here because we know struct has been set
    +    s->current.server->dst_addr.port() = 
s->hdr_info.server_request.port_get();
    --- End diff --
    
    this is kind of a hack-- before the port value was an int and initialized 
in the transact separately from the port in addr. this no longer works getting 
rid of the int port so had to add this here after we update the info.


---
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