properties are getting stuck in the attributes list, and not making it down to the...
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Feb 2007 15:30:34 +0000 (15:30 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Feb 2007 15:30:34 +0000 (15:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@511854 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/http11/Http11NioProtocol.java
java/org/apache/tomcat/util/net/NioEndpoint.java

index 9d09cf9..6afddae 100644 (file)
@@ -95,6 +95,8 @@ public class Http11NioProtocol implements ProtocolHandler, MBeanRegistration
     public void setProperty(String name, String value) {
         if ( name!=null && (name.startsWith("socket.") ||name.startsWith("selectorPool.")) ){
             ep.setProperty(name, value);
+        } else {
+            ep.setProperty(name,value); //make sure we at least try to set all properties
         }
         setAttribute(name, value);
     }
index ee76cc8..f88f367 100644 (file)
@@ -438,6 +438,8 @@ public class NioEndpoint {
                 IntrospectionUtils.setProperty(selectorPool, name.substring(selectorPoolName.length()), value);
             } else if (name.startsWith(socketName)) {
                 IntrospectionUtils.setProperty(socketProperties, name.substring(socketName.length()), value);
+            } else {
+                IntrospectionUtils.setProperty(this,name,value);
             }
         }catch ( Exception x ) {
             log.error("Unable to set attribute \""+name+"\" to \""+value+"\"",x);