1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test
Daniel Colson fcb99b91cc Close connection in web server tests (#2072)
[skip changelog]

Closes #2049

Before this commit, `test_trickle_attack` and
`test_file_streamed_request` were each taking an extra 20 seconds to run.

Without the `Connection: close` header, the [connection was kept
alive][keep alive] until it timed out after the
[`PERSISTENT_TIMEOUT`][PERSISTENT_TIMEOUT] duration of 20 seconds.

[keep alive]: 3835ac74de/lib/puma/server.rb (L706-L708)
[PERSISTENT_TIMEOUT]: 3835ac74de/lib/puma/const.rb (L109-L111)
2019-11-12 07:56:45 +08:00
..
config Update test_integration files per PR #1956 (#1965) 2019-09-19 19:37:53 +02:00
helpers Add SSL support for the control app (#2046) 2019-10-21 09:35:15 +08:00
rackup Add benchmarks for large request bodies and responses 2019-10-13 11:27:58 +02:00
shell
helper.rb CI -> Github actions (#1918) 2019-09-19 19:50:13 +02:00
test_app_status.rb Remove unused code in app status test (#2020) 2019-10-10 11:07:30 +02:00
test_binder.rb Add SSL support for the control app (#2046) 2019-10-21 09:35:15 +08:00
test_cli.rb Config: Get environment from RAILS_ENV, too (#2022) 2019-11-11 13:10:02 +08:00
test_config.rb Config: Get environment from RAILS_ENV, too (#2022) 2019-11-11 13:10:02 +08:00
test_events.rb
test_http10.rb
test_http11.rb Strip header whitespace. Fix #1890. Code by @matthewd (#2010) 2019-10-07 15:23:18 +02:00
test_integration_cluster.rb Add pumactl command to print thread backtraces (#2054) 2019-11-11 13:08:41 +08:00
test_integration_pumactl.rb Update test_integration files per PR #1956 (#1965) 2019-09-19 19:37:53 +02:00
test_integration_single.rb Add pumactl command to print thread backtraces (#2054) 2019-11-11 13:08:41 +08:00
test_iobuffer.rb
test_launcher.rb Add pumactl command to print thread backtraces (#2054) 2019-11-11 13:08:41 +08:00
test_minissl.rb
test_null_io.rb
test_persistent.rb Add @MSP-Greg's changes to TestPersistent 2019-09-11 14:12:57 +00:00
test_plugin.rb PluginRegistry#fire_background - fix up per issue 1972 (#1973) 2019-09-18 15:53:29 +02:00
test_puma_server.rb Rubocop failures 2019-11-02 16:07:18 -04:00
test_puma_server_ssl.rb Parallelize a few more tests 2019-09-11 14:11:46 +00:00
test_pumactl.rb Config: Get environment from RAILS_ENV, too (#2022) 2019-11-11 13:10:02 +08:00
test_rack_handler.rb Remove unnecessary calls to abort_on_exception 2019-09-11 12:36:40 +00:00
test_rack_server.rb
test_tcp_logger.rb
test_tcp_rack.rb
test_thread_pool.rb Address threadpool test TODOs 2019-10-16 21:17:19 -04:00
test_unix_socket.rb
test_web_server.rb Close connection in web server tests (#2072) 2019-11-12 07:56:45 +08:00