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

--- Comment #6 from Christopher Schultz <ch...@christopherschultz.net> ---
Technically, this shouldn't require a change to the AJP protocol, as arbitrary
HTTP headers can be sent just by modifying the configuration.

Unfortunately, the CGI spec does not specify anything like "localAddr"... the
closest thing available is SERVER_NAME which ... comes from the client's "Host"
header. I suspect this is what is being used for getLocalAddr, here.

Reading a bit about httpd's capabilities, I'm not sure it's actually possible
to get the IP address of the server interface that accepted the request from
the client. If the address *can* be obtained, sending it via an HTTP header and
using something like the RemoteIpValve would probably work.

-- 
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