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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to