1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test
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
..
bundle_preservation_test Leave BUNDLE_GEMFILE unset in workers if it was unset in the master (#2154) 2020-03-10 11:46:20 -06:00
config Allow specifying the desired IO selector backend for nio4r (#2522) 2021-01-12 09:39:33 -07:00
helpers Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
minitest Support parallel tests in verbose progress reporting (#2223) 2020-04-20 09:45:43 +09:00
rackup Restore sync=true on global stdout/stderr streams (#2557) 2021-02-22 13:17:03 -07:00
worker_gem_independence_test Remove use of json gem (#2479) 2020-11-10 10:16:42 -07:00
helper.rb Minitest - Add code to group & summarize test skips (#2577) 2021-03-15 08:12:04 -06:00
test_app_status.rb Change Puma.stats to return a hash instead of a JSON string (#2086) 2019-12-17 12:38:48 +07:00
test_binder.rb Update docs for low_latency option and fix parsing issue (#2631) 2021-05-20 10:17:34 -06:00
test_busy_worker.rb Fix CI (#2561) 2021-03-02 08:56:11 -07:00
test_cli.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_config.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_error_logger.rb Avoid mutating stdout and stderr (#2486) 2020-12-02 10:43:53 -07:00
test_events.rb Add #flush and #sync methods to Puma::NullIO (#2553) 2021-02-10 15:30:24 -07:00
test_http10.rb make test_helper no longer be loaded as a test (#1283) 2017-05-12 12:16:55 -07:00
test_http11.rb Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00
test_integration_cluster.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_integration_pumactl.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_integration_single.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_integration_ssl.rb Remove accept_nonblock.rb, add test_integration_ssl.rb (#2448) 2020-10-25 16:15:20 -06:00
test_integration_systemd.rb systemd - fix event firing (#2591) 2021-05-04 20:14:33 -06:00
test_iobuffer.rb IOBuffer back to Ruby (#1980) 2020-02-27 13:50:34 -06:00
test_json_serialization.rb Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
test_launcher.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_minissl.rb Adjust test files for 'no ssl' compile 2020-09-14 12:20:09 -05:00
test_null_io.rb Add #flush and #sync methods to Puma::NullIO (#2553) 2021-02-10 15:30:24 -07:00
test_out_of_band_server.rb Updates for non MRI CI stablity [changelog skip] (#2434) 2020-10-19 09:22:28 -06:00
test_persistent.rb Updates for non MRI CI stablity [changelog skip] (#2434) 2020-10-19 09:22:28 -06:00
test_plugin.rb PluginRegistry#fire_background - fix up per issue 1972 (#1973) 2019-09-18 15:53:29 +02:00
test_preserve_bundler_env.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_puma_localhost_authority.rb Automatic SSL certificate provisioning for localhost (#2610) 2021-08-18 08:33:11 -06:00
test_puma_server.rb Add rack_url_scheme to Puma::DSL, allows setting of rack.url_scheme header (#2586) 2021-05-26 08:15:08 -06:00
test_puma_server_ssl.rb Improve reliability of non-MRI CI 2020-10-14 21:37:45 -05:00
test_pumactl.rb Add support for Linux's abstract sockets (#2564) 2021-04-24 17:24:44 -06:00
test_rack_handler.rb test_rack_handler.rb - fix intermittent JRuby CI failures 2021-04-16 19:25:25 -05:00
test_rack_server.rb Merge pull request #2306 from alexeevit/feature/use-tempfile-for-state-sock-files 2020-09-08 12:49:04 -07:00
test_redirect_io.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00
test_response_header.rb Make illegal header matching more stringent (#2510) 2020-12-10 08:15:25 -07:00
test_thread_pool.rb Better names for thread pool threads (#2657) 2021-07-13 12:58:34 -06:00
test_unix_socket.rb Add support for Linux's abstract sockets (#2564) 2021-04-24 17:24:44 -06:00
test_web_server.rb Test files - more port handling 2020-07-22 21:00:03 -05:00
test_worker_gem_independence.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00