[ 
https://issues.apache.org/jira/browse/CXF-4109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Beryozkin resolved CXF-4109.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6
                   2.5.3
                   2.4.7
         Assignee: Sergey Beryozkin
    
> UriInfo getHost caches first request's host and always returns that on 
> subsequent calls
> ---------------------------------------------------------------------------------------
>
>                 Key: CXF-4109
>                 URL: https://issues.apache.org/jira/browse/CXF-4109
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.5.2
>         Environment: Linux CentOS 6
>            Reporter: Dan Hintz
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.7, 2.5.3, 2.6
>
>
> The call to UriInfo.getHost() is caching the first request's host and always 
> returning that on all subsequent calls.
> For example, Tomcat starts up and a request is made to the server using a URL 
> of "http://1.2.3.4/apicall";, getHost() returns "1.2.3.4", the next request is 
> made using a URL of "http://mydomainname.com/apicall";, getHost() still 
> returns "1.2.3.4", where "mydomainname.com" is expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to