You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kutschker <Ma...@blackbox.net> on 2002/05/07 16:25:55 UTC

[PATCH] Fix for SSLMutex option settings not being honoured

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