tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns "null"
Date Sat, 06 Nov 2010 15:44:43 GMT

--- Comment #5 from Rainer Jung <> 2010-11-06 11:44:38 EDT ---
I proposed a fix for Tomcat 6. It is available at

It only happens for the default implementation of the AJP connector. If you
switch to protocol="org.apache.coyote.ajp.AjpProtocol" in the connector
configuration, it should be fine. That's the implementation used by Tomcat 7.

Note also, that our implementation of localAddr() will simply return the same
as localName(), so you can also switch to that method.



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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message