tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58289] request.getRemoteAddr() sometimes returning IP address from the previous request
Date Thu, 27 Aug 2015 19:04:38 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58289

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Mark Thomas <markt@apache.org> ---
(In reply to Tim Hunt from comment #0)

> We have been able to work-around this problem by setting
> org.apache.catalina.connector.RECYCLE_FACADES=true. With that setting the
> bug does not occur.

That indicates that this is an application bug. It looks like you have
something retaining a reference to a request and calling
request.getRemoteAddr() after the processing of the request has completed and
the request has been recycled.

With org.apache.catalina.connector.RECYCLE_FACADES=true I'd expect to see NPEs
at the point where the request is accessed illegally. Do you have any NPEs in
your logs? If not, might the application be swallowing them?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message