https://issues.apache.org/bugzilla/show_bug.cgi?id=51872

--- Comment #7 from Mark Thomas <ma...@apache.org> 2011-09-22 21:55:46 UTC ---
If the application is retaining a reference to the request object there is a
possible race condition that could lead to the behaviour you see here.

If during the call to AbstractHttp11Processor.recycle() - triggered at the end
of request processing - if there is a call to Request.getRemoteAddr() after
AbstractHttp11Processor.remoteAddr has been set to null but before
recycleInternal() is called then remoteAddr will end up being populated with
the IP address of the previous connection.

The way to test this is to set set the following system property:
org.apache.catalina.connector.RECYCLE_FACADES=true

Please let us know how you get on with testing using this setting.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to