28-Jul-99 13:14 you wrote:
> On Wed, Jul 28, 1999, Simon Weijgers wrote:
>> I can't seem to find a configure option to enable ipc semaphore support
>> in modssl. Does this mean it isn't stable yet?
>>From the user manual under "SSLMutex":
> (http://www.modssl.org/docs/2.3/ssl_reference.html)
> o sem
> This is the most elegant but also most non-portable Mutex variant
> where a SysV IPC Semaphore (under Unix) and a Windows Mutex (under
> Win32) is used when possible. It is only available when the underlying
> platform supports it.
Hmm ?
-- mod_ssl.h --
[ skipped ]
#ifdef USE_SYSVSEM_SERIALIZED_ACCEPT
#define SSL_CAN_USE_SEM
#define SSL_HAVE_IPCSEM
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#endif
[ skipped ]
-- cut --
Looks like it's supported when USE_SYSVSEM_SERIALIZED_ACCEPT is defined...
The problem is... it's NEVER defined :-(( At least rgrep can find EXACTLY
one place where USE_SYSVSEM_SERIALIZED_ACCEPT is used: this ifdef in mod_ssl.h
Neither configure nor mod_ssl.h itself can define it so it's not clear how
it can be used at all :-/ When -DUSE_SYSVSEM_SERIALIZED_ACCEPT was added to
CFLAGS by hand `SSLMutex: sem' was accepted but I'm not sure if it works...
I hope so since Linux SUPPORTS SysV IPC but still...
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]