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

--- Comment #19 from Rainer Jung <rainer.j...@kippdata.de> ---
(In reply to Eugene Chung (TmaxSoft) from comment #18)
> I'm a bit confused with the definition of getLocalXXX() APIs.
> Should they return the web server(intermediary in view of WAS)'s information?

I haven't checked the Spec but I don't it will clarify the behavior for that
situation.

One of the major ideas behind the AJP protocol is to transport the
communication data, that the intermediary saw, to the backend and let the
application see that information as if the backend was placed at the position
of the intermediary. One goal is to make sure, that any self-referential URL
the application creates will actually point to the intermediary and not the the
backend.

That's why we have chosen to return the local IP of the intermediary from the
AJP connector.

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