Skip to content
Snippets Groups Projects
Commit 8403940e authored by petermayo@chromium.org's avatar petermayo@chromium.org
Browse files

Adding SSL mutex specification to a local file, to stop relying on a mutable

directory in the root.

TEST=Locally on a bot like machine (no prior fix). Try bots (with chmod /var/run).
BUG=none

Review URL: http://codereview.chromium.org/5617004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68312 0039d316-1c4b-4281-b951-d872f2087c98
parent 7c9e492d
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,7 @@ class PlatformUtility(object):
"server_root": os.path.join(self._UnixRoot(), "usr"),
"mime_types_path": mime_types_path,
"output_dir": output_dir,
"ssl_mutex": "file:"+os.path.join(output_dir, "ssl_mutex"),
"user": os.environ.get("USER", "#%d" % os.geteuid()),
"lock_file": os.path.join(output_dir, "accept.lock"),
}
......@@ -112,6 +113,7 @@ class PlatformUtility(object):
' -C \'ServerRoot "%(server_root)s"\''
' -c \'LockFile "%(lock_file)s"\''
' -c \'SSLCertificateFile "%(ssl_certificate_file)s"\''
' -c \'SSLMutex "%(ssl_mutex)s"\''
)
if document_root:
......
......@@ -90,6 +90,7 @@ class PlatformUtility(object):
"server_root": os.path.join(self._UnixRoot(), "usr"),
"mime_types_path": mime_types_path,
"output_dir": output_dir,
"ssl_mutex": "file:"+os.path.join(output_dir, "ssl_mutex"),
"user": os.environ.get("USER", "#%d" % os.geteuid()),
"lock_file": os.path.join(output_dir, "accept.lock"),
}
......@@ -112,6 +113,7 @@ class PlatformUtility(object):
' -C \'ServerRoot "%(server_root)s"\''
' -c \'LockFile "%(lock_file)s"\''
' -c \'SSLCertificateFile "%(ssl_certificate_file)s"\''
' -c \'SSLMutex "%(ssl_mutex)s"\''
)
if document_root:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment