[CalendarServer-changes] [872]
CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Dec 20 13:24:28 PST 2006
Revision: 872
http://trac.macosforge.org/projects/calendarserver/changeset/872
Author: dreid at apple.com
Date: 2006-12-20 13:24:27 -0800 (Wed, 20 Dec 2006)
Log Message:
-----------
support SSLOnly option
Modified Paths:
--------------
CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py
Modified: CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py
===================================================================
--- CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py 2006-12-20 21:09:49 UTC (rev 871)
+++ CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py 2006-12-20 21:24:27 UTC (rev 872)
@@ -107,14 +107,15 @@
process = TwistdSlaveProcess(config.twistdLocation,
options['config'],
port, sslport)
-
+
service.addProcess(process.getName(),
process.getCommandLine(),
uid=options.parent['uid'],
gid=options.parent['gid'])
+
+ if not config.SSLOnly:
+ hosts.append(process.getHostLine())
- hosts.append(process.getHostLine())
-
if config.SSLEnable:
sslHosts.append(process.getHostLine(ssl=True))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061220/4c8e7ff8/attachment.html
More information about the calendarserver-changes
mailing list