I agree, would you mind if I redid the connector, so that the protocolHandlerClassName works? currently, it only checks the protocol, as it does so in the constructor of the Connector. so setting protocol or attributes later will have no effect

public void begin(Attributes attributes) throws Exception {
    digester.push(new Connector(attributes.getValue("protocol")));
}

Filip




Remy Maucherat wrote:
[EMAIL PROTECTED] wrote:
-            if ("HTTP/1.1".equals(protocol)) {
+            if ("HTTP/1.1/NIO".equals(protocol)) {
+ setProtocolHandlerClassName("org.apache.coyote.http11.Http11NioProtocol");
+            } else if ("HTTP/1.1".equals(protocol)) {

I think using the actual class name is far better than using arbitrary protocol names.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--


Filip Hanik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to