RE: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine_init.c ssl_util.c

2001-08-23 Thread Doug MacEachern
On Thu, 23 Aug 2001, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: > Hi, > I'd missed out the CRYPRO_thread_id stuff in my earlier patch .. Here it nice. > -static void ssl_util_thread_locking_callback(int mode, int type, > - const char *file, i

RE: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine_init.c ssl_util.c

2001-08-23 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
_util_thr_id); +CRYPTO_set_locking_callback((void (*)())ssl_util_thr_lock); apr_pool_cleanup_register(p, NULL, ssl_util_thread_cleanup, Thanks -Madhu -Original Message- From: Doug MacEachern To: [EMAIL PROTECTED] Sent: 8/23/01 11:08 PM Subject: Re: cvs commit: httpd-2.0

Re: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine_init.c ssl_util.c

2001-08-23 Thread Justin Erenkrantz
On Thu, Aug 23, 2001 at 10:42:16PM -0700, Doug MacEachern wrote: > > IMHO, the call to ssl_util_thread_setup should be moved to > > ssl_init_Child and even potentially surrounded by > > #if APR_HAS_THREADS. -- justin > > why child init rather than module init? > i did turn off the locking unle

RE: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine_init.c ssl_util.c

2001-08-23 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
ommit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine_init.c ssl_util.c On Fri, Aug 24, 2001 at 04:08:04AM -, [EMAIL PROTECTED] wrote: > +*lock_cs = apr_palloc(p, CRYPTO_NUM_LOCKS); > +for (i = 0; i < CRYPTO_NUM_LOCKS; i++) > +{ > +

Re: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine_init.c ssl_util.c

2001-08-23 Thread Justin Erenkrantz
On Fri, Aug 24, 2001 at 04:08:04AM -, [EMAIL PROTECTED] wrote: > +*lock_cs = apr_palloc(p, CRYPTO_NUM_LOCKS); > +for (i = 0; i < CRYPTO_NUM_LOCKS; i++) > +{ > +lock_count[i]=0; > +apr_lock_create(&(lock_cs[i]), APR_MUTEX, APR_LOCKALL, > +