mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
46416cb49e
The problem was a few points: * We were not clearing the reactor on a normal stop, which is what is used in a phased restart. * On close, SSL sockets were not sending the shutdown message. * SSL sockets that were completely uninitialized ended up sitting in reactor and could not actually be shutdown because there were not initialized.
15 lines
321 B
Ruby
15 lines
321 B
Ruby
require 'mkmf'
|
|
|
|
dir_config("puma_http11")
|
|
|
|
unless ENV["DISABLE_SSL"]
|
|
dir_config("openssl")
|
|
|
|
if %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} and
|
|
%w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')}
|
|
|
|
have_header "openssl/bio.h"
|
|
end
|
|
end
|
|
|
|
create_makefile("puma/puma_http11")
|