httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kutschker <Martin.T.Kutsch...@blackbox.net>
Subject [PATCH] Fix for SSLMutex option settings not being honoured
Date Tue, 07 May 2002 14:25:55 GMT
Hi!

[Sorry if this is posted twice, but I'm not sure if my first mail got through]

With the SSLMutex option the user could (in 1.3.x) ask for file based or
semaphore based locking. Now mod_ssl asks APR for the default mechanism completely ignoring
the option values.

The patch fixes this and changes the SSLMutex command offering these options:

default | yes
none | no
fcntl
flock
sysvsem
posixsem
pthread
sem = sysvsem | posixsem
file: = fcntl | flock

The meaning of "yes" changes to "default", "sem" will use either Sys V or Posix semaphores
(the former are preferred) and file will use either Fcntl or Flock (preferring Fcntl).

The command remains (reasonably) backward compatible and is now in sync with the AcceptMutex
command.

I deem more than 200 lines too long for listing it here. The patch can be found as an attachment
to the accompanying bugzilla bug 8122:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8122
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=1801

The path adds some diagnostic output in the case of an error and corrects the command description
string as well.

Masi 

Mime
View raw message