You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2002/06/29 20:32:30 UTC

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_channel.c

mturk       2002/06/29 11:32:30

  Modified:    jk/native2/common jk_channel.c
  Log:
  Added 'init' option. This is the number of second that worker
  waits for channel to initialize. Defaults to 0 except for jni channel
  
  Revision  Changes    Path
  1.5       +4 -0      jakarta-tomcat-connectors/jk/native2/common/jk_channel.c
  
  Index: jk_channel.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- jk_channel.c	10 Jun 2002 21:55:06 -0000	1.4
  +++ jk_channel.c	29 Jun 2002 18:32:30 -0000	1.5
  @@ -84,6 +84,10 @@
           ch->mbean->disabled=atoi( value );
           if( ch->worker!=NULL)
           ch->worker->mbean->disabled=ch->mbean->disabled;
  +    } else if( strcmp( "init", name ) == 0 ) {
  +        ch->worker->mbean->initialize=atoi( value );
  +        if( ch->worker!=NULL)
  +        ch->worker->mbean->disabled=ch->mbean->disabled;
       } else {
   	if( ch->worker!=NULL ) {
               return ch->worker->mbean->setAttribute( env, ch->worker->mbean, name, valueP );
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>