summaryrefslogtreecommitdiff
path: root/lib/un.rb
diff options
context:
space:
mode:
-rw-r--r--lib/un.rb7
1 files changed, 6 insertions, 1 deletions
@@ -326,7 +326,12 @@ def httpd
"ServerName=NAME", "ServerSoftware=NAME",
"SSLCertificate=CERT", "SSLPrivateKey=KEY") do
|argv, options|
- require 'webrick'
opt = options[:RequestTimeout] and options[:RequestTimeout] = opt.to_i
[:Port, :MaxClients].each do |name|
opt = options[name] and (options[name] = Integer(opt)) rescue nil