1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib/puma
Y af3675b2ee
Automatic SSL certificate provisioning for localhost (#2610)
* Added puma to automatically use localhost gem to self signed https if defined.

* Update files according to rubocop rules

* Moved localhost authority from tcp_listener to ssl_listener

Use MiniSSLContext and MiniSSLServer for localhost authority's self-signed ceritifcates

* Reformatted codes according to rubocop rules

* Fixed test case crashing in production env

* Removed transform_keys to support ruby version < 2.5.0

* Changed wrong keystore_pass key given to context to keystore-pass

* Remove accept_nonblock.rb since we are using MiniSSL Server

* Removed localhost_authority test case running in JRUBY since localhost_authority doesn't suppot JKS yet.

* Reload Localhost authority if not loaded runned from puma cli

* Memorise localhost authority object on init

* Added readme for self-signed certificates

* Removed jruby version

* Update readme.md

* Added validations to check certificate

* Remove ssl test running in no ssl implementations

* Changed host in localhost authority

* Update ssl events wrong arguments error

* Update README.md

* Update binder.rb

* Update binder.rb

* Update binder.rb

* Update binder.rb

* Update request.rb

* Update binder

* Removed running test in JRUBY

* Removed testing localhost authority file while in JRUBY

* Removed unused variables

* Updated readme

Co-authored-by: Nate Berkopec <nate.berkopec@gmail.com>
2021-08-18 08:33:11 -06:00
..
app Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
cluster Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
minissl [SSL] Add ability to set verification flags (#2490) 2020-12-07 17:21:23 -06:00
plugin Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
rack Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00
binder.rb Automatic SSL certificate provisioning for localhost (#2610) 2021-08-18 08:33:11 -06:00
cli.rb Add option to bind to activated sockets (#2362) 2020-11-10 10:24:39 -07:00
client.rb Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
cluster.rb Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
commonlogger.rb fix: Update links to use TLS/SSL [ci skip] [changelog skip] 2020-08-14 00:20:07 +05:30
configuration.rb Gracefully handle Rack not accepting CLI options (#2630) 2021-05-20 10:19:52 -06:00
const.rb 5.4.0 (#2668) 2021-07-29 08:25:27 -06:00
control_cli.rb Add support for Linux's abstract sockets (#2564) 2021-04-24 17:24:44 -06:00
detect.rb Move ssl detection to puma.rb (#2541) 2021-02-01 14:10:28 -07:00
dsl.rb Add rack_url_scheme to Puma::DSL, allows setting of rack.url_scheme header (#2586) 2021-05-26 08:15:08 -06:00
error_logger.rb fix some spell errors (#2615) 2021-04-29 10:01:15 -06:00
events.rb Avoid mutating stdout and stderr (#2486) 2020-12-02 10:43:53 -07:00
io_buffer.rb IOBuffer back to Ruby (#1980) 2020-02-27 13:50:34 -06:00
jruby_restart.rb Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
json_serialization.rb Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
launcher.rb Change 'Goodbye!' message to be output after listeners are closed (#2529) 2021-01-24 14:31:41 -07:00
minissl.rb Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
null_io.rb Add #flush and #sync methods to Puma::NullIO (#2553) 2021-02-10 15:30:24 -07:00
plugin.rb Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00
queue_close.rb Refactor drain on shutdown (#2600) 2021-04-30 17:22:59 -05:00
rack_default.rb Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
reactor.rb Allow specifying the desired IO selector backend for nio4r (#2522) 2021-01-12 09:39:33 -07:00
request.rb Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
runner.rb Restore sync=true on global stdout/stderr streams (#2557) 2021-02-22 13:17:03 -07:00
server.rb Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
single.rb Server run thread safety fix [changelog skip] (#2435) 2020-10-20 07:26:16 -06:00
state_file.rb File.open -> File.read, File.write (#2493) 2020-11-27 08:47:33 -07:00
systemd.rb Add systemd notify and watchdog support (#2438) 2020-10-26 16:02:31 -06:00
thread_pool.rb Better names for thread pool threads (#2657) 2021-07-13 12:58:34 -06:00
util.rb Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00