remm 02/04/07 14:11:33
Modified: http11/src/java/org/apache/coyote/http11 Http11Protocol.java
Log:
- Implement remoteAddr and remoteHost for the new connector.
- Use IntrospectionUtils to pass attributes.
Revision Changes Path
1.3 +2 -2
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java
Index: Http11Protocol.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Http11Protocol.java 6 Apr 2002 16:51:50 -0000 1.2
+++ Http11Protocol.java 7 Apr 2002 21:11:33 -0000 1.3
@@ -93,13 +93,13 @@
public void setAttribute( String name, Object value ) {
log.info("setAttribute " + name + " " + value );
-
+/*
if ("maxKeepAliveRequests".equals(name)) {
maxKeepAliveRequests = Integer.parseInt((String) value.toString());
} else if ("port".equals(name)) {
setPort(Integer.parseInt((String) value.toString()));
}
-
+*/
}
public Object getAttribute( String key ) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>