Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 43001 invoked by uid 500); 19 Mar 2003 01:54:51 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 42978 invoked from network); 19 Mar 2003 01:54:50 -0000 Message-Id: <5.2.0.9.2.20030318194453.024f1e60@pop3.rowe-clan.net> X-Sender: admin%rowe-clan.net@pop3.rowe-clan.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 18 Mar 2003 19:47:42 -0600 To: dev@httpd.apache.org From: "William A. Rowe, Jr." Subject: Re: cvs commit: httpd-2.0/modules/ssl mod_ssl.c mod_ssl.h ssl_engine_config.c ssl_engine_mutex.c In-Reply-To: References: <20030223171244.37369.qmail@icarus.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 19 Mar 2003 01:56:56.0109 (UTC) FILETIME=[D1E745D0:01C2EDBA] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 06:19 PM 3/18/2003, Andr=E9 Malo wrote: >* jim@apache.org wrote: > >> if (strcEQ(arg, "none") || strcEQ(arg, "no")) { >> mc->nMutexMode =3D SSL_MUTEXMODE_NONE; >> } >> + /* NOTE: previously, 'yes' implied 'sem' */ >> + else if (strcEQ(arg, "default") || strcEQ(arg, "yes")) { >> + mc->nMutexMode =3D SSL_MUTEXMODE_USED; >> + mc->nMutexMech =3D APR_LOCK_DEFAULT; > >ehm, sorry for that late response to that ;-) >But shouldn't we follow our own conventions and (at least also) recognize= =20 >On|Off here (instead of yes/no)? I was about to say that 'on' implies that 'yes' is a correct setting going forward, and that we only hoped to ensure continued success of existing configs. But now that I think about it, we are saying 'default locking if simply turned on' - so I suppose 'on' would also be alright in that context. On the other hand, no, none and off all seem like reasonable flags to= disable the mutex altogether. Adding off wouldn't be a bad thing. Bill