billbarker2002/11/07 22:19:51
Modified:coyote/src/java/org/apache/coyote/tomcat3
Tomcat3Request.java
Log:
Clean up the handling of remoteAddr and remoteHost.
We share both of these with the coyoteRequest, so there is no reason to duplicate.
Revision
billbarker02/04/09 00:02:53
Modified:coyote/src/java/org/apache/coyote/tomcat3
Tomcat3Request.java
Log:
Tie into the backend remoteAddr remoteHost lookup.
The duplicates are ugly, but until we can safely stop the agressive recycling, they
provide huge
billbarker02/04/09 00:03:53
Modified:coyote/src/java/org/apache/coyote/tomcat3
Tomcat3Request.java
Log:
Fix Typo.
Revision ChangesPath
1.6 +1 -1
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/Tomcat3Request.java
costin 02/04/09 11:02:19
Modified:coyote/src/java/org/apache/coyote/tomcat3
Tomcat3Request.java
Log:
Merged few more methods from ajp.
Use the same buffer for addresses, pass the info to Coyote Request
Revision ChangesPath
1.7 +56 -0
+
+remoteAddrMB = coyoteRequest.remoteAddr();
+ remoteHostMB = coyoteRequest.remoteHost();
+ serverNameMB = coyoteRequest.serverName();
+
+
This forces the lookup to always be per-request, when it would be much nicer
to do it per-connection.
+
+public void
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 1:45 PM
Subject: Re: cvs commit:
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3
Tomcat3Request.java
On Tue, 9 Apr 2002, Bill Barker wrote
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 1:45 PM
Subject: Re: cvs commit:
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3
Tomcat3Request.java
On Tue, 9 Apr 2002, Bill Barker wrote
I'm still missing something I guess :-)
I can try to preserve the host/addr at the http11 level if you think
it's important ( just to make Remy nervous :-)
It's not extremely important. It's just a nice optimization for people
who
use remoteHost. If you want to concentrate on JK,
costin 02/04/08 15:57:36
Modified:coyote/src/java/org/apache/coyote/tomcat3
Tomcat3Request.java
Log:
Pass the request for lazy attributes to the protocol.
That's used for stuff that is not allways needed ( remote host ) and expensive
to compute.