You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/08/01 02:32:35 UTC
DO NOT REPLY [Bug 13172] -
Port incorrect in getServerPort and in access log
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13172>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13172
Port incorrect in getServerPort and in access log
------- Additional Comments From rckenned@hotmail.com 2003-08-01 00:32 -------
Remy:
the servlet javadoc has the following for getServerPort():
Returns the port number on which this request was received. For
HTTP servlets, same as the value of the CGI variable SERVER_PORT.
The SERVER_PORT variable should store "The TCP port on which the server is
running."
(http://developer.netscape.com/docs/manuals/js/server/jsref/toplev.htm#1109561).
That would seem to indicate that if getServerPort() is returning 80 when the
request comes in on TCP port 8080, it's a bug.
Ryan