nacho 00/11/09 18:50:01
Modified: src/share/org/apache/tomcat/core Tag: tomcat_32
RequestImpl.java
Log:
* Fixing a problem with redirections, was using the lsocket port
not the host header port if present
Revision Changes Path
No revision
No revision
1.52.2.3 +1 -3
jakarta-tomcat/src/share/org/apache/tomcat/core/Attic/RequestImpl.java
Index: RequestImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Attic/RequestImpl.java,v
retrieving revision 1.52.2.2
retrieving revision 1.52.2.3
diff -u -r1.52.2.2 -r1.52.2.3
--- RequestImpl.java 2000/11/05 07:01:50 1.52.2.2
+++ RequestImpl.java 2000/11/10 02:50:01 1.52.2.3
@@ -726,7 +726,7 @@
protocol="HTTP/1.0";
headers.clear(); // XXX use recycle pattern
serverName=null;
- serverPort=8080;
+ serverPort=-1;
pathTranslated=null;
pathInfo=null;
pathTranslatedIsSet=false;
@@ -834,11 +834,9 @@
public void setBody( StringBuffer body ) {
// ???
}
-
public void setServerPort(int serverPort ) {
this.serverPort=serverPort;
}
-
public void setRemoteAddr( String remoteAddr ) {
this.remoteAddr=remoteAddr;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]