You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2015/04/02 17:15:53 UTC
[jira] [Commented] (CXF-4109) UriInfo getHost caches first
request's host and always returns that on subsequent calls
[ https://issues.apache.org/jira/browse/CXF-4109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392813#comment-14392813 ]
Sergey Beryozkin commented on CXF-4109:
---------------------------------------
Any chance you can help with isolating the code which proves to be problematic in your case ?
I'll have to resolve it otherwise as Won't Fix due to Can't Reproduce.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)