cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Hintz (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4109) UriInfo getHost caches first request's host and always returns that on subsequent calls
Date Tue, 14 Feb 2012 15:19:59 GMT
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


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

        

Mime
View raw message