1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Rename to inherit_ssl_listener like inherit_tcp|unix

This commit is contained in:
David Kellum 2016-04-01 12:59:22 -07:00
parent ca618b1b12
commit 3632856ad5

View file

@ -190,7 +190,7 @@ module Puma
if fd = @inherited_fds.delete(str) if fd = @inherited_fds.delete(str)
logger.log "* Inherited #{str}" logger.log "* Inherited #{str}"
io = inherited_ssl_listener fd, ctx io = inherit_ssl_listener fd, ctx
else else
logger.log "* Listening on #{str}" logger.log "* Listening on #{str}"
io = add_ssl_listener uri.host, uri.port, ctx io = add_ssl_listener uri.host, uri.port, ctx
@ -284,7 +284,7 @@ module Puma
s s
end end
def inherited_ssl_listener(fd, ctx) def inherit_ssl_listener(fd, ctx)
require 'puma/minissl' require 'puma/minissl'
MiniSSL.check MiniSSL.check