tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cos...@gmail.com>
Subject Re: svn commit: r332766 - in /tomcat: connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11BaseProtocol.java connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11Protocol.java container/tc5.5.x/webapps/docs/changelog.xml
Date Sat, 12 Nov 2005 17:32:24 GMT
On 11/12/05, pero@apache.org <pero@apache.org> wrote:
> Author: pero
> Date: Sat Nov 12 04:29:58 2005
> New Revision: 332766
>
> URL: http://svn.apache.org/viewcvs?rev=332766&view=rev
> Log:
> Fix that the RequestProcessor registered at JMX.
> It was nice to see this information back inside manager app :-)


tomcat/connectors/trunk/http11/src/java/org/apache/coyote/http11/Http11BaseProtocol.java
Sat Nov 12 04:29:58 2005
> @@ -54,11 +54,6 @@
>  public class Http11BaseProtocol implements ProtocolHandler
>  {
>      public Http11BaseProtocol() {
> -        cHandler = new Http11ConnectionHandler( this );
> -        setSoLinger(Constants.DEFAULT_CONNECTION_LINGER);
> -        setSoTimeout(Constants.DEFAULT_CONNECTION_TIMEOUT);
> -        setServerSoTimeout(Constants.DEFAULT_SERVER_SOCKET_TIMEOUT);
> -        setTcpNoDelay(Constants.DEFAULT_TCP_NO_DELAY);
>      }
>
>      /**
>  public class Http11Protocol extends Http11BaseProtocol implements MBeanRegistration
>  {
>      public Http11Protocol() {
> -        super();
> +        cHandler = new JmxHttp11ConnectionHandler( this );
> +        setSoLinger(Constants.DEFAULT_CONNECTION_LINGER);
> +        setSoTimeout(Constants.DEFAULT_CONNECTION_TIMEOUT);
> +        setServerSoTimeout(Constants.DEFAULT_SERVER_SOCKET_TIMEOUT);
> +        setTcpNoDelay(Constants.DEFAULT_TCP_NO_DELAY);
>      }
>


Can we have the setSoLinger, etc in the base as well ? After this
change, the base is probably broken - I'm using it as non-jmx,
standalone http connector.
Maybe in an init function - overriden ?


Costin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message