puma 2.0.0.b5 → 5.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puma might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/History.md +1598 -0
- data/LICENSE +23 -20
- data/README.md +222 -62
- data/bin/puma-wild +31 -0
- data/bin/pumactl +1 -1
- data/docs/architecture.md +37 -0
- data/docs/deployment.md +113 -0
- data/docs/fork_worker.md +31 -0
- data/docs/images/puma-connection-flow-no-reactor.png +0 -0
- data/docs/images/puma-connection-flow.png +0 -0
- data/docs/images/puma-general-arch.png +0 -0
- data/docs/jungle/README.md +13 -0
- data/docs/jungle/rc.d/README.md +74 -0
- data/docs/jungle/rc.d/puma +61 -0
- data/docs/jungle/rc.d/puma.conf +10 -0
- data/docs/jungle/upstart/README.md +61 -0
- data/docs/jungle/upstart/puma-manager.conf +31 -0
- data/docs/jungle/upstart/puma.conf +69 -0
- data/docs/nginx.md +5 -10
- data/docs/plugins.md +38 -0
- data/docs/restart.md +41 -0
- data/docs/signals.md +97 -0
- data/docs/systemd.md +228 -0
- data/ext/puma_http11/PumaHttp11Service.java +2 -2
- data/ext/puma_http11/extconf.rb +23 -2
- data/ext/puma_http11/http11_parser.c +301 -482
- data/ext/puma_http11/http11_parser.h +13 -11
- data/ext/puma_http11/http11_parser.java.rl +26 -42
- data/ext/puma_http11/http11_parser.rl +22 -21
- data/ext/puma_http11/http11_parser_common.rl +5 -5
- data/ext/puma_http11/mini_ssl.c +377 -18
- data/ext/puma_http11/org/jruby/puma/Http11.java +108 -107
- data/ext/puma_http11/org/jruby/puma/Http11Parser.java +137 -170
- data/ext/puma_http11/org/jruby/puma/MiniSSL.java +265 -191
- data/ext/puma_http11/puma_http11.c +57 -81
- data/lib/puma.rb +25 -4
- data/lib/puma/accept_nonblock.rb +7 -1
- data/lib/puma/app/status.rb +61 -24
- data/lib/puma/binder.rb +212 -78
- data/lib/puma/cli.rb +149 -644
- data/lib/puma/client.rb +316 -65
- data/lib/puma/cluster.rb +659 -0
- data/lib/puma/commonlogger.rb +108 -0
- data/lib/puma/configuration.rb +279 -180
- data/lib/puma/const.rb +126 -39
- data/lib/puma/control_cli.rb +183 -96
- data/lib/puma/detect.rb +20 -1
- data/lib/puma/dsl.rb +776 -0
- data/lib/puma/events.rb +91 -23
- data/lib/puma/io_buffer.rb +9 -5
- data/lib/puma/jruby_restart.rb +9 -5
- data/lib/puma/launcher.rb +487 -0
- data/lib/puma/minissl.rb +239 -93
- data/lib/puma/minissl/context_builder.rb +76 -0
- data/lib/puma/null_io.rb +22 -12
- data/lib/puma/plugin.rb +111 -0
- data/lib/puma/plugin/tmp_restart.rb +36 -0
- data/lib/puma/rack/builder.rb +297 -0
- data/lib/puma/rack/urlmap.rb +93 -0
- data/lib/puma/rack_default.rb +9 -0
- data/lib/puma/reactor.rb +290 -43
- data/lib/puma/runner.rb +163 -0
- data/lib/puma/server.rb +493 -126
- data/lib/puma/single.rb +66 -0
- data/lib/puma/state_file.rb +34 -0
- data/lib/puma/thread_pool.rb +228 -47
- data/lib/puma/util.rb +115 -0
- data/lib/rack/handler/puma.rb +78 -31
- data/tools/Dockerfile +16 -0
- data/tools/trickletest.rb +44 -0
- metadata +60 -155
- data/COPYING +0 -55
- data/Gemfile +0 -8
- data/History.txt +0 -196
- data/Manifest.txt +0 -56
- data/Rakefile +0 -121
- data/TODO +0 -5
- data/docs/config.md +0 -0
- data/ext/puma_http11/io_buffer.c +0 -154
- data/lib/puma/capistrano.rb +0 -26
- data/lib/puma/compat.rb +0 -11
- data/lib/puma/daemon_ext.rb +0 -20
- data/lib/puma/delegation.rb +0 -11
- data/lib/puma/java_io_buffer.rb +0 -45
- data/lib/puma/rack_patch.rb +0 -25
- data/puma.gemspec +0 -45
- data/test/test_app_status.rb +0 -88
- data/test/test_cli.rb +0 -171
- data/test/test_config.rb +0 -16
- data/test/test_http10.rb +0 -27
- data/test/test_http11.rb +0 -126
- data/test/test_integration.rb +0 -150
- data/test/test_iobuffer.rb +0 -38
- data/test/test_minissl.rb +0 -22
- data/test/test_null_io.rb +0 -31
- data/test/test_persistent.rb +0 -238
- data/test/test_puma_server.rb +0 -128
- data/test/test_rack_handler.rb +0 -10
- data/test/test_rack_server.rb +0 -141
- data/test/test_thread_pool.rb +0 -146
- data/test/test_unix_socket.rb +0 -39
- data/test/test_ws.rb +0 -89
- data/tools/jungle/README.md +0 -54
- data/tools/jungle/puma +0 -332
- data/tools/jungle/run-puma +0 -3
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d624c4973e123e4b085bd0080a85d76c996f26743dde5d8e55ca4f3971e6d77a
|
4
|
+
data.tar.gz: 8f3ebe99584b845456708a73ae5305b012058c09af0a5e75bead0322c1c8501c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1dbaeeb104fa56b185b1b647fc865a3b25eb621dba523dba15d056bef66137279fbb57545330ab3f486e610a88ed487f3ccf2e6f0b9c75de12522dc9db9b0029
|
7
|
+
data.tar.gz: 1b2f86bb5275f3764b891da8c3bc3643e1544d7209385aae8d87b5aa572945ceb627ef70df23060bc27abc9714b16377b8fa371b3ac3a10738e76cbd69f88841
|
data/History.md
ADDED
@@ -0,0 +1,1598 @@
|
|
1
|
+
## 5.0.0
|
2
|
+
|
3
|
+
* Features
|
4
|
+
* EXPERIMENTAL: Add `fork_worker` option and `refork` command for reduced memory usage by forking from a worker process instead of the master process. (#2099)
|
5
|
+
* EXPERIMENTAL: Added `wait_for_less_busy_worker` config. This may reduce latency on MRI through inserting a small delay before re-listening on the socket if worker is busy (#2079).
|
6
|
+
* EXPERIMENTAL: Added `nakayoshi_fork` option. Reduce memory usage in preloaded cluster-mode apps by GCing before fork and compacting, where available. (#2093, #2256)
|
7
|
+
* Added pumactl `thread-backtraces` command to print thread backtraces (#2054)
|
8
|
+
* Added incrementing `requests_count` to `Puma.stats`. (#2106)
|
9
|
+
* Increased maximum URI path length from 2048 to 8196 bytes (#2167)
|
10
|
+
* `lowlevel_error_handler` is now called during a forced threadpool shutdown, and if a callable with 3 arguments is set, we now also pass the status code (#2203)
|
11
|
+
* Faster phased restart and worker timeout (#2220)
|
12
|
+
* Added `state_permission` to config DSL to set state file permissions (#2238)
|
13
|
+
* Added `Puma.stats_hash`, which returns a stats in Hash instead of a JSON string (#2086, #2253)
|
14
|
+
|
15
|
+
* Deprecations, Removals and Breaking API Changes
|
16
|
+
* `--control` has been removed. Use `--control-url` (#1487)
|
17
|
+
* `worker_directory` has been removed. Use `directory`.
|
18
|
+
* min_threads now set by environment variables PUMA_MIN_THREADS and MIN_THREADS. (#2143)
|
19
|
+
* max_threads now set by environment variables PUMA_MAX_THREADS and MAX_THREADS. (#2143)
|
20
|
+
* max_threads default to 5 in MRI or 16 for all other interpreters. (#2143)
|
21
|
+
* preload by default if workers > 1 (#2143)
|
22
|
+
* Puma::Plugin.workers_supported? has been removed. Use Puma.forkable? instead. (#2143)
|
23
|
+
* `tcp_mode` has been removed without replacement. (#2169)
|
24
|
+
* Daemonization has been removed without replacement. (#2170)
|
25
|
+
* Changed #connected_port to #connected_ports (#2076)
|
26
|
+
* Configuration: `environment` is read from `RAILS_ENV`, if `RACK_ENV` can't be found (#2022)
|
27
|
+
|
28
|
+
* Bugfixes
|
29
|
+
* Do not set user_config to quiet by default to allow for file config (#2074)
|
30
|
+
* Always close SSL connection in Puma::ControlCLI (#2211)
|
31
|
+
* Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069)
|
32
|
+
* Ensure control server Unix socket is closed on shutdown (#2112)
|
33
|
+
* Preserve `BUNDLE_GEMFILE` env var when using `prune_bundler` (#1893)
|
34
|
+
* Send 408 request timeout even when queue requests is disabled (#2119)
|
35
|
+
* Rescue IO::WaitReadable instead of EAGAIN for blocking read (#2121)
|
36
|
+
* Ensure `BUNDLE_GEMFILE` is unspecified in workers if unspecified in master when using `prune_bundler` (#2154)
|
37
|
+
* Rescue and log exceptions in hooks defined by users (on_worker_boot, after_worker_fork etc) (#1551)
|
38
|
+
* Read directly from the socket in #read_and_drop to avoid raising further SSL errors (#2198)
|
39
|
+
* Set `Connection: closed` header when queue requests is disabled (#2216)
|
40
|
+
* Pass queued requests to thread pool on server shutdown (#2122)
|
41
|
+
* Fixed a few minor concurrency bugs in ThreadPool that may have affected non-GVL Rubies (#2220)
|
42
|
+
* Fix `out_of_band` hook never executed if the number of worker threads is > 1 (#2177)
|
43
|
+
* Fix ThreadPool#shutdown timeout accuracy (#2221)
|
44
|
+
* Fix `UserFileDefaultOptions#fetch` to properly use `default` (#2233)
|
45
|
+
* Improvements to `out_of_band` hook (#2234)
|
46
|
+
* Prefer the rackup file specified by the CLI (#2225)
|
47
|
+
|
48
|
+
* Refactor
|
49
|
+
* Remove unused loader argument from Plugin initializer (#2095)
|
50
|
+
* Simplify `Configuration.random_token` and remove insecure fallback (#2102)
|
51
|
+
* Simplify `Runner#start_control` URL parsing (#2111)
|
52
|
+
* Removed the IOBuffer extension and replaced with Ruby (#1980)
|
53
|
+
* Update `Rack::Handler::Puma.run` to use `**options` (#2189)
|
54
|
+
* ThreadPool concurrency refactoring (#2220)
|
55
|
+
* JSON parse cluster worker stats instead of regex (#2124)
|
56
|
+
* Support parallel tests in verbose progress reporting (#2223)
|
57
|
+
|
58
|
+
## 4.3.3 and 3.12.4 / 2020-02-28
|
59
|
+
|
60
|
+
* Bugfixes
|
61
|
+
* Fix: Fixes a problem where we weren't splitting headers correctly on newlines (#2132)
|
62
|
+
* Security
|
63
|
+
* Fix: Prevent HTTP Response splitting via CR in early hints. CVE-2020-5249.
|
64
|
+
|
65
|
+
## 4.3.2 and 3.12.3 / 2020-02-27 (YANKED)
|
66
|
+
|
67
|
+
* Security
|
68
|
+
* Fix: Prevent HTTP Response splitting via CR/LF in header values. CVE-2020-5247.
|
69
|
+
|
70
|
+
## 4.3.1 and 3.12.2 / 2019-12-05
|
71
|
+
|
72
|
+
* Security
|
73
|
+
* Fix: a poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. CVE-2019-16770.
|
74
|
+
|
75
|
+
## 4.3.0 / 2019-11-07
|
76
|
+
|
77
|
+
* Features
|
78
|
+
* Strip whitespace at end of HTTP headers (#2010)
|
79
|
+
* Optimize HTTP parser for JRuby (#2012)
|
80
|
+
* Add SSL support for the control app and cli (#2046, #2052)
|
81
|
+
|
82
|
+
* Bugfixes
|
83
|
+
* Fix Errno::EINVAL when SSL is enabled and browser rejects cert (#1564)
|
84
|
+
* Fix pumactl defaulting puma to development if an environment was not specified (#2035)
|
85
|
+
* Fix closing file stream when reading pid from pidfile (#2048)
|
86
|
+
* Fix a typo in configuration option `--extra_runtime_dependencies` (#2050)
|
87
|
+
|
88
|
+
## 4.2.1 / 2019-10-07
|
89
|
+
|
90
|
+
* 3 bugfixes
|
91
|
+
* Fix socket activation of systemd (pre-existing) unix binder files (#1842, #1988)
|
92
|
+
* Deal with multiple calls to bind correctly (#1986, #1994, #2006)
|
93
|
+
* Accepts symbols for `verify_mode` (#1222)
|
94
|
+
|
95
|
+
## 4.2.0 / 2019-09-23
|
96
|
+
|
97
|
+
* 6 features
|
98
|
+
* Pumactl has a new -e environment option and reads `config/puma/<environment>.rb` config files (#1885)
|
99
|
+
* Semicolons are now allowed in URL paths (MRI only), useful for Angular or Redmine (#1934)
|
100
|
+
* Allow extra dependencies to be defined when using prune_bundler (#1105)
|
101
|
+
* Puma now reports the correct port when binding to port 0, also reports other listeners when binding to localhost (#1786)
|
102
|
+
* Sending SIGINFO to any Puma worker now prints currently active threads and their backtraces (#1320)
|
103
|
+
* Puma threads all now have their name set on Ruby 2.3+ (#1968)
|
104
|
+
* 4 bugfixes
|
105
|
+
* Fix some misbehavior with phased restart and externally SIGTERMed workers (#1908, #1952)
|
106
|
+
* Fix socket closing on error (#1941)
|
107
|
+
* Removed unnecessary SIGINT trap for JRuby that caused some race conditions (#1961)
|
108
|
+
* Fix socket files being left around after process stopped (#1970)
|
109
|
+
* Absolutely thousands of lines of test improvements and fixes thanks to @MSP-Greg
|
110
|
+
|
111
|
+
## 4.1.1 / 2019-09-05
|
112
|
+
|
113
|
+
* 3 bugfixes
|
114
|
+
* Revert our attempt to not dup STDOUT/STDERR (#1946)
|
115
|
+
* Fix socket close on error (#1941)
|
116
|
+
* Fix workers not shutting down correctly (#1908)
|
117
|
+
|
118
|
+
## 4.1.0 / 2019-08-08
|
119
|
+
|
120
|
+
* 4 features
|
121
|
+
* Add REQUEST_PATH on parse error message (#1831)
|
122
|
+
* You can now easily add custom log formatters with the `log_formatter` config option (#1816)
|
123
|
+
* Puma.stats now provides process start times (#1844)
|
124
|
+
* Add support for disabling TLSv1.1 (#1836)
|
125
|
+
|
126
|
+
* 7 bugfixes
|
127
|
+
* Fix issue where Puma was creating zombie process entries (#1887)
|
128
|
+
* Fix bugs with line-endings and chunked encoding (#1812)
|
129
|
+
* RACK_URL_SCHEME is now set correctly in all conditions (#1491)
|
130
|
+
* We no longer mutate global STDOUT/STDERR, particularly the sync setting (#1837)
|
131
|
+
* SSL read_nonblock no longer blocks (#1857)
|
132
|
+
* Swallow connection errors when sending early hints (#1822)
|
133
|
+
* Backtrace no longer dumped when invalid pumactl commands are run (#1863)
|
134
|
+
|
135
|
+
* 5 other
|
136
|
+
* Avoid casting worker_timeout twice (#1838)
|
137
|
+
* Removed a call to private that wasn't doing anything (#1882)
|
138
|
+
* README, Rakefile, docs and test cleanups (#1848, #1847, #1846, #1853, #1859, #1850, #1866, #1870, #1872, #1833, #1888)
|
139
|
+
* Puma.io has proper documentation now (https://puma.io/puma/)
|
140
|
+
* Added the Contributor Covenant CoC
|
141
|
+
|
142
|
+
* 1 known issue
|
143
|
+
* Some users are still experiencing issues surrounding socket activation and Unix sockets (#1842)
|
144
|
+
|
145
|
+
## 4.0.1 / 2019-07-11
|
146
|
+
|
147
|
+
* 2 bugfixes
|
148
|
+
* Fix socket removed after reload - should fix problems with systemd socket activation. (#1829)
|
149
|
+
* Add extconf tests for DTLS_method & TLS_server_method, use in minissl.rb. Should fix "undefined symbol: DTLS_method" when compiling against old OpenSSL versions. (#1832)
|
150
|
+
* 1 other
|
151
|
+
* Removed unnecessary RUBY_VERSION checks. (#1827)
|
152
|
+
|
153
|
+
## 4.0.0 / 2019-06-25
|
154
|
+
|
155
|
+
* 9 features
|
156
|
+
* Add support for disabling TLSv1.0 (#1562)
|
157
|
+
* Request body read time metric (#1569)
|
158
|
+
* Add out_of_band hook (#1648)
|
159
|
+
* Re-implement (native) IOBuffer for JRuby (#1691)
|
160
|
+
* Min worker timeout (#1716)
|
161
|
+
* Add option to suppress SignalException on SIGTERM (#1690)
|
162
|
+
* Allow mutual TLS CA to be set using `ssl_bind` DSL (#1689)
|
163
|
+
* Reactor now uses nio4r instead of `select` (#1728)
|
164
|
+
* Add status to pumactl with pidfile (#1824)
|
165
|
+
|
166
|
+
* 10 bugfixes
|
167
|
+
* Do not accept new requests on shutdown (#1685, #1808)
|
168
|
+
* Fix 3 corner cases when request body is chunked (#1508)
|
169
|
+
* Change pid existence check's condition branches (#1650)
|
170
|
+
* Don't call .stop on a server that doesn't exist (#1655)
|
171
|
+
* Implemented NID_X9_62_prime256v1 (P-256) curve over P-521 (#1671)
|
172
|
+
* Fix @notify.close can't modify frozen IOError (RuntimeError) (#1583)
|
173
|
+
* Fix Java 8 support (#1773)
|
174
|
+
* Fix error `uninitialized constant Puma::Cluster` (#1731)
|
175
|
+
* Fix `not_token` being able to be set to true (#1803)
|
176
|
+
* Fix "Hang on SIGTERM with ruby 2.6 in clustered mode" ([PR #1741], [#1674], [#1720], [#1730], [#1755])
|
177
|
+
|
178
|
+
[PR #1741]: https://github.com/puma/puma/pull/1741
|
179
|
+
[#1674]: https://github.com/puma/puma/issues/1674
|
180
|
+
[#1720]: https://github.com/puma/puma/issues/1720
|
181
|
+
[#1730]: https://github.com/puma/puma/issues/1730
|
182
|
+
[#1755]: https://github.com/puma/puma/issues/1755
|
183
|
+
|
184
|
+
## 3.12.1 / 2019-03-19
|
185
|
+
|
186
|
+
* 1 features
|
187
|
+
* Internal strings are frozen (#1649)
|
188
|
+
* 3 bugfixes
|
189
|
+
* Fix chunked ending check (#1607)
|
190
|
+
* Rack handler should use provided default host (#1700)
|
191
|
+
* Better support for detecting runtimes that support `fork` (#1630)
|
192
|
+
|
193
|
+
## 3.12.0 / 2018-07-13
|
194
|
+
|
195
|
+
* 5 features:
|
196
|
+
* You can now specify which SSL ciphers the server should support, default is unchanged (#1478)
|
197
|
+
* The setting for Puma's `max_threads` is now in `Puma.stats` (#1604)
|
198
|
+
* Pool capacity is now in `Puma.stats` (#1579)
|
199
|
+
* Installs restricted to Ruby 2.2+ (#1506)
|
200
|
+
* `--control` is now deprecated in favor of `--control-url` (#1487)
|
201
|
+
|
202
|
+
* 2 bugfixes:
|
203
|
+
* Workers will no longer accept more web requests than they have capacity to process. This prevents an issue where one worker would accept lots of requests while starving other workers (#1563)
|
204
|
+
* In a test env puma now emits the stack on an exception (#1557)
|
205
|
+
|
206
|
+
## 3.11.4 / 2018-04-12
|
207
|
+
|
208
|
+
* 2 features:
|
209
|
+
* Manage puma as a service using rc.d (#1529)
|
210
|
+
* Server stats are now available from a top level method (#1532)
|
211
|
+
* 5 bugfixes:
|
212
|
+
* Fix parsing CLI options (#1482)
|
213
|
+
* Order of stderr and stdout is made before redirecting to a log file (#1511)
|
214
|
+
* Init.d fix of `ps -p` to check if pid exists (#1545)
|
215
|
+
* Early hints bugfix (#1550)
|
216
|
+
* Purge interrupt queue when closing socket fails (#1553)
|
217
|
+
|
218
|
+
## 3.11.3 / 2018-03-05
|
219
|
+
|
220
|
+
* 3 bugfixes:
|
221
|
+
* Add closed? to MiniSSL::Socket for use in reactor (#1510)
|
222
|
+
* Handle EOFError at the toplevel of the server threads (#1524) (#1507)
|
223
|
+
* Deal with zero sized bodies when using SSL (#1483)
|
224
|
+
|
225
|
+
## 3.11.2 / 2018-01-19
|
226
|
+
|
227
|
+
* 1 bugfix:
|
228
|
+
* Deal with read\_nonblock returning nil early
|
229
|
+
|
230
|
+
## 3.11.1 / 2018-01-18
|
231
|
+
|
232
|
+
* 1 bugfix:
|
233
|
+
* Handle read\_nonblock returning nil when the socket close (#1502)
|
234
|
+
|
235
|
+
## 3.11.0 / 2017-11-20
|
236
|
+
|
237
|
+
* 2 features:
|
238
|
+
* HTTP 103 Early Hints (#1403)
|
239
|
+
* 421/451 status codes now have correct status messages attached (#1435)
|
240
|
+
|
241
|
+
* 9 bugfixes:
|
242
|
+
* Environment config files (/config/puma/<ENV>.rb) load correctly (#1340)
|
243
|
+
* Specify windows dependencies correctly (#1434, #1436)
|
244
|
+
* puma/events required in test helper (#1418)
|
245
|
+
* Correct control CLI's option help text (#1416)
|
246
|
+
* Remove a warning for unused variable in mini_ssl (#1409)
|
247
|
+
* Correct pumactl docs argument ordering (#1427)
|
248
|
+
* Fix an uninitialized variable warning in server.rb (#1430)
|
249
|
+
* Fix docs typo/error in Launcher init (#1429)
|
250
|
+
* Deal with leading spaces in RUBYOPT (#1455)
|
251
|
+
|
252
|
+
* 2 other:
|
253
|
+
* Add docs about internals (#1425, #1452)
|
254
|
+
* Tons of test fixes from @MSP-Greg (#1439, #1442, #1464)
|
255
|
+
|
256
|
+
## 3.10.0 / 2017-08-17
|
257
|
+
|
258
|
+
* 3 features:
|
259
|
+
* The status server has a new /gc and /gc-status command. (#1384)
|
260
|
+
* The persistent and first data timeouts are now configurable (#1111)
|
261
|
+
* Implemented RFC 2324 (#1392)
|
262
|
+
|
263
|
+
* 12 bugfixes:
|
264
|
+
* Not really a Puma bug, but @NickolasVashchenko created a gem to workaround a Ruby bug that some users of Puma may be experiencing. See README for more. (#1347)
|
265
|
+
* Fix hangups with SSL and persistent connections. (#1334)
|
266
|
+
* Fix Rails double-binding to a port (#1383)
|
267
|
+
* Fix incorrect thread names (#1368)
|
268
|
+
* Fix issues with /etc/hosts and JRuby where localhost addresses were not correct. (#1318)
|
269
|
+
* Fix compatibility with RUBYOPT="--enable-frozen-string-literal" (#1376)
|
270
|
+
* Fixed some compiler warnings (#1388)
|
271
|
+
* We actually run the integration tests in CI now (#1390)
|
272
|
+
* No longer shipping unnecessary directories in the gemfile (#1391)
|
273
|
+
* If RUBYOPT is nil, we no longer blow up on restart. (#1385)
|
274
|
+
* Correct response to SIGINT (#1377)
|
275
|
+
* Proper exit code returned when we receive a TERM signal (#1337)
|
276
|
+
|
277
|
+
* 3 refactors:
|
278
|
+
* Various test improvements from @grosser
|
279
|
+
* Rubocop (#1325)
|
280
|
+
* Hoe has been removed (#1395)
|
281
|
+
|
282
|
+
* 1 known issue:
|
283
|
+
* Socket activation doesn't work in JRuby. Their fault, not ours. (#1367)
|
284
|
+
|
285
|
+
## 3.9.1 / 2017-06-03
|
286
|
+
|
287
|
+
* 2 bugfixes:
|
288
|
+
* Fixed compatibility with older Bundler versions (#1314)
|
289
|
+
* Some internal test/development cleanup (#1311, #1313)
|
290
|
+
|
291
|
+
## 3.9.0 / 2017-06-01
|
292
|
+
|
293
|
+
* 2 features:
|
294
|
+
* The ENV is now reset to its original values when Puma restarts via USR1/USR2 (#1260) (MRI only, no JRuby support)
|
295
|
+
* Puma will no longer accept more clients than the maximum number of threads. (#1278)
|
296
|
+
|
297
|
+
* 9 bugfixes:
|
298
|
+
* Reduce information leakage by preventing HTTP parse errors from writing environment hashes to STDERR (#1306)
|
299
|
+
* Fix SSL/WebSocket compatibility (#1274)
|
300
|
+
* HTTP headers with empty values are no longer omitted from responses. (#1261)
|
301
|
+
* Fix a Rack env key which was set to nil. (#1259)
|
302
|
+
* peercert has been implemented for JRuby (#1248)
|
303
|
+
* Fix port settings when using rails s (#1277, #1290)
|
304
|
+
* Fix compat w/LibreSSL (#1285)
|
305
|
+
* Fix restarting Puma w/symlinks and a new Gemfile (#1282)
|
306
|
+
* Replace Dir.exists? with Dir.exist? (#1294)
|
307
|
+
|
308
|
+
* 1 known issue:
|
309
|
+
* A bug in MRI 2.2+ can result in IOError: stream closed. See #1206. This issue has existed since at least Puma 3.6, and probably further back.
|
310
|
+
|
311
|
+
* 1 refactor:
|
312
|
+
* Lots of test fixups from @grosser.
|
313
|
+
|
314
|
+
## 3.8.2 / 2017-03-14
|
315
|
+
|
316
|
+
* 1 bugfix:
|
317
|
+
* Deal with getsockopt with TCP\_INFO failing for sockets that say they're TCP but aren't really. (#1241)
|
318
|
+
|
319
|
+
## 3.8.1 / 2017-03-10
|
320
|
+
|
321
|
+
* 1 bugfix:
|
322
|
+
* Remove method call to method that no longer exists (#1239)
|
323
|
+
|
324
|
+
## 3.8.0 / 2017-03-09
|
325
|
+
|
326
|
+
* 2 bugfixes:
|
327
|
+
* Port from rack handler does not take precedence over config file in Rails 5.1.0.beta2+ and 5.0.1.rc3+ (#1234)
|
328
|
+
* The `tmp/restart.txt` plugin no longer restricts the user from running more than one server from the same folder at a time (#1226)
|
329
|
+
|
330
|
+
* 1 feature:
|
331
|
+
* Closed clients are aborted to save capacity (#1227)
|
332
|
+
|
333
|
+
* 1 refactor:
|
334
|
+
* Bundler is no longer a dependency from tests (#1213)
|
335
|
+
|
336
|
+
## 3.7.1 / 2017-02-20
|
337
|
+
|
338
|
+
* 2 bugfixes:
|
339
|
+
* Fix typo which blew up MiniSSL (#1182)
|
340
|
+
* Stop overriding command-line options with the config file (#1203)
|
341
|
+
|
342
|
+
## 3.7.0 / 2017-01-04
|
343
|
+
|
344
|
+
* 6 minor features:
|
345
|
+
* Allow rack handler to accept ssl host. (#1129)
|
346
|
+
* Refactor TTOU processing. TTOU now handles multiple signals at once. (#1165)
|
347
|
+
* Pickup any remaining chunk data as the next request.
|
348
|
+
* Prevent short term thread churn - increased auto trim default to 30 seconds.
|
349
|
+
* Raise error when `stdout` or `stderr` is not writable. (#1175)
|
350
|
+
* Add Rack 2.0 support to gemspec. (#1068)
|
351
|
+
|
352
|
+
* 5 refactors:
|
353
|
+
* Compare host and server name only once per call. (#1091)
|
354
|
+
* Minor refactor on Thread pool (#1088)
|
355
|
+
* Removed a ton of unused constants, variables and files.
|
356
|
+
* Use MRI macros when allocating heap memory
|
357
|
+
* Use hooks for on\_booted event. (#1160)
|
358
|
+
|
359
|
+
* 14 bugfixes:
|
360
|
+
* Add eof? method to NullIO? (#1169)
|
361
|
+
* Fix Puma startup in provided init.d script (#1061)
|
362
|
+
* Fix default SSL mode back to none. (#1036)
|
363
|
+
* Fixed the issue of @listeners getting nil io (#1120)
|
364
|
+
* Make `get_dh1024` compatible with OpenSSL v1.1.0 (#1178)
|
365
|
+
* More gracefully deal with SSL sessions. Fixes #1002
|
366
|
+
* Move puma.rb to just autoloads. Fixes #1063
|
367
|
+
* MiniSSL: Provide write as <<. Fixes #1089
|
368
|
+
* Prune bundler should inherit fds (#1114)
|
369
|
+
* Replace use of Process.getpgid which does not behave as intended on all platforms (#1110)
|
370
|
+
* Transfer encoding header should be downcased before comparison (#1135)
|
371
|
+
* Use same write log logic for hijacked requests. (#1081)
|
372
|
+
* Fix `uninitialized constant Puma::StateFile` (#1138)
|
373
|
+
* Fix access priorities of each level in LeveledOptions (#1118)
|
374
|
+
|
375
|
+
* 3 others:
|
376
|
+
|
377
|
+
* Lots of tests added/fixed/improved. Switched to Minitest from Test::Unit. Big thanks to @frodsan.
|
378
|
+
* Lots of documentation added/improved.
|
379
|
+
* Add license indicators to the HTTP extension. (#1075)
|
380
|
+
|
381
|
+
## 3.6.2 / 2016-11-22
|
382
|
+
|
383
|
+
* 1 bug fix:
|
384
|
+
|
385
|
+
* Revert #1118/Fix access priorities of each level in LeveledOptions. This
|
386
|
+
had an unintentional side effect of changing the importance of command line
|
387
|
+
options, such as -p.
|
388
|
+
|
389
|
+
## 3.6.1 / 2016-11-21
|
390
|
+
|
391
|
+
* 8 bug fixes:
|
392
|
+
|
393
|
+
* Fix Puma start in init.d script.
|
394
|
+
* Fix default SSL mode back to none. Fixes #1036
|
395
|
+
* Fixed the issue of @listeners getting nil io, fix rails restart (#1120)
|
396
|
+
* More gracefully deal with SSL sessions. Fixes #1002
|
397
|
+
* Prevent short term thread churn.
|
398
|
+
* Provide write as <<. Fixes #1089
|
399
|
+
* Fix access priorities of each level in LeveledOptions - fixes TTIN.
|
400
|
+
* Stub description files updated for init.d.
|
401
|
+
|
402
|
+
* 2 new project committers:
|
403
|
+
|
404
|
+
* Nate Berkopec (@nateberkopec)
|
405
|
+
* Richard Schneeman (@schneems)
|
406
|
+
|
407
|
+
## 3.6.0 / 2016-07-24
|
408
|
+
|
409
|
+
* 12 bug fixes:
|
410
|
+
* Add ability to detect a shutting down server. Fixes #932
|
411
|
+
* Add support for Expect: 100-continue. Fixes #519
|
412
|
+
* Check SSLContext better. Fixes #828
|
413
|
+
* Clarify behavior of '-t num'. Fixes #984
|
414
|
+
* Don't default to VERIFY_PEER. Fixes #1028
|
415
|
+
* Don't use ENV['PWD'] on windows. Fixes #1023
|
416
|
+
* Enlarge the scope of catching app exceptions. Fixes #1027
|
417
|
+
* Execute background hooks after daemonizing. Fixes #925
|
418
|
+
* Handle HUP as a stop unless there is IO redirection. Fixes #911
|
419
|
+
* Implement chunked request handling. Fixes #620
|
420
|
+
* Just rescue exception to return a 500. Fixes #1027
|
421
|
+
* Redirect IO in the jruby daemon mode. Fixes #778
|
422
|
+
|
423
|
+
## 3.5.2 / 2016-07-20
|
424
|
+
|
425
|
+
* 1 bug fix:
|
426
|
+
* Don't let persistent_timeout be nil
|
427
|
+
|
428
|
+
* 1 PR merged:
|
429
|
+
* Merge pull request #1021 from benzrf/patch-1
|
430
|
+
|
431
|
+
## 3.5.1 / 2016-07-20
|
432
|
+
|
433
|
+
* 1 bug fix:
|
434
|
+
* Be sure to only listen on host:port combos once. Fixes #1022
|
435
|
+
|
436
|
+
## 3.5.0 / 2016-07-18
|
437
|
+
|
438
|
+
* 1 minor features:
|
439
|
+
* Allow persistent_timeout to be configured via the dsl.
|
440
|
+
|
441
|
+
* 9 bug fixes:
|
442
|
+
* Allow a bare % in a query string. Fixes #958
|
443
|
+
* Explicitly listen on all localhost addresses. Fixes #782
|
444
|
+
* Fix `TCPLogger` log error in tcp cluster mode.
|
445
|
+
* Fix puma/puma#968 Cannot bind SSL port due to missing verify_mode option
|
446
|
+
* Fix puma/puma#968 Default verify_mode to peer
|
447
|
+
* Log any exceptions in ThreadPool. Fixes #1010
|
448
|
+
* Silence connection errors in the reactor. Fixes #959
|
449
|
+
* Tiny fixes in hook documentation for #840
|
450
|
+
* It should not log requests if we want it to be quiet
|
451
|
+
|
452
|
+
* 5 doc fixes:
|
453
|
+
* Add How to stop Puma on Heroku using plugins to the example directory
|
454
|
+
* Provide both hot and phased restart in jungle script
|
455
|
+
* Update reference to the instances management script
|
456
|
+
* Update default number of threads
|
457
|
+
* Fix typo in example config
|
458
|
+
|
459
|
+
* 14 PRs merged:
|
460
|
+
* Merge pull request #1007 from willnet/patch-1
|
461
|
+
* Merge pull request #1014 from jeznet/patch-1
|
462
|
+
* Merge pull request #1015 from bf4/patch-1
|
463
|
+
* Merge pull request #1017 from jorihardman/configurable_persistent_timeout
|
464
|
+
* Merge pull request #954 from jf/master
|
465
|
+
* Merge pull request #955 from jf/add-request-info-to-standard-error-rescue
|
466
|
+
* Merge pull request #956 from maxkwallace/master
|
467
|
+
* Merge pull request #960 from kmayer/kmayer-plugins-heroku-restart
|
468
|
+
* Merge pull request #969 from frankwong15/master
|
469
|
+
* Merge pull request #970 from willnet/delete-blank-document
|
470
|
+
* Merge pull request #974 from rocketjob/feature/name_threads
|
471
|
+
* Merge pull request #977 from snow/master
|
472
|
+
* Merge pull request #981 from zach-chai/patch-1
|
473
|
+
* Merge pull request #993 from scorix/master
|
474
|
+
|
475
|
+
## 3.4.0 / 2016-04-07
|
476
|
+
|
477
|
+
* 2 minor features:
|
478
|
+
* Add ability to force threads to stop on shutdown. Fixes #938
|
479
|
+
* Detect and commit seppuku when fork(2) fails. Fixes #529
|
480
|
+
|
481
|
+
* 3 unknowns:
|
482
|
+
* Ignore errors trying to update the backport tables. Fixes #788
|
483
|
+
* Invoke the lowlevel_error in more places to allow for exception tracking. Fixes #894
|
484
|
+
* Update the query string when an absolute URI is used. Fixes #937
|
485
|
+
|
486
|
+
* 5 doc fixes:
|
487
|
+
* Add Process Monitors section to top-level README
|
488
|
+
* Better document the hooks. Fixes #840
|
489
|
+
* docs/system.md sample config refinements and elaborations
|
490
|
+
* Fix typos at couple of places.
|
491
|
+
* Cleanup warnings
|
492
|
+
|
493
|
+
* 3 PRs merged:
|
494
|
+
* Merge pull request #945 from dekellum/systemd-docs-refined
|
495
|
+
* Merge pull request #946 from vipulnsward/rm-pid
|
496
|
+
* Merge pull request #947 from vipulnsward/housekeeping-typos
|
497
|
+
|
498
|
+
## 3.3.0 / 2016-04-05
|
499
|
+
|
500
|
+
* 2 minor features:
|
501
|
+
* Allow overriding options of Configuration object
|
502
|
+
* Rename to inherit_ssl_listener like inherit_tcp|unix
|
503
|
+
|
504
|
+
* 2 doc fixes:
|
505
|
+
* Add docs/systemd.md (with socket activation sub-section)
|
506
|
+
* Document UNIX signals with cluster on README.md
|
507
|
+
|
508
|
+
* 3 PRs merged:
|
509
|
+
* Merge pull request #936 from prathamesh-sonpatki/allow-overriding-config-options
|
510
|
+
* Merge pull request #940 from kyledrake/signalsdoc
|
511
|
+
* Merge pull request #942 from dekellum/socket-activate-improve
|
512
|
+
|
513
|
+
## 3.2.0 / 2016-03-20
|
514
|
+
|
515
|
+
* 1 deprecation removal:
|
516
|
+
* Delete capistrano.rb
|
517
|
+
|
518
|
+
* 3 bug fixes:
|
519
|
+
* Detect gems.rb as well as Gemfile
|
520
|
+
* Simplify and fix logic for directory to use when restarting for all phases
|
521
|
+
* Speed up phased-restart start
|
522
|
+
|
523
|
+
* 2 PRs merged:
|
524
|
+
* Merge pull request #927 from jlecour/gemfile_variants
|
525
|
+
* Merge pull request #931 from joneslee85/patch-10
|
526
|
+
|
527
|
+
## 3.1.1 / 2016-03-17
|
528
|
+
|
529
|
+
* 4 bug fixes:
|
530
|
+
* Disable USR1 usage on JRuby
|
531
|
+
* Fixes #922 - Correctly define file encoding as UTF-8
|
532
|
+
* Set a more explicit SERVER_SOFTWARE Rack variable
|
533
|
+
* Show RUBY_ENGINE_VERSION if available. Fixes #923
|
534
|
+
|
535
|
+
* 3 PRs merged:
|
536
|
+
* Merge pull request #912 from tricknotes/fix-allow-failures-in-travis-yml
|
537
|
+
* Merge pull request #921 from swrobel/patch-1
|
538
|
+
* Merge pull request #924 from tbrisker/patch-1
|
539
|
+
|
540
|
+
## 3.1.0 / 2016-03-05
|
541
|
+
|
542
|
+
* 1 minor feature:
|
543
|
+
* Add 'import' directive to config file. Fixes #916
|
544
|
+
|
545
|
+
* 5 bug fixes:
|
546
|
+
* Add 'fetch' to options. Fixes #913
|
547
|
+
* Fix jruby daemonization. Fixes #918
|
548
|
+
* Recreate the proper args manually. Fixes #910
|
549
|
+
* Require 'time' to get iso8601. Fixes #914
|
550
|
+
|
551
|
+
## 3.0.2 / 2016-02-26
|
552
|
+
|
553
|
+
* 5 bug fixes:
|
554
|
+
|
555
|
+
* Fix 'undefined local variable or method `pid` for #<Puma::ControlCLI:0x007f185fcef968>' when execute pumactl with `--pid` option.
|
556
|
+
* Fix 'undefined method `windows?` for Puma:Module' when execute pumactl.
|
557
|
+
* Harden tmp_restart against errors related to the restart file
|
558
|
+
* Make `plugin :tmp_restart` behavior correct in Windows.
|
559
|
+
* fix uninitialized constant Puma::ControlCLI::StateFile
|
560
|
+
|
561
|
+
* 3 PRs merged:
|
562
|
+
|
563
|
+
* Merge pull request #901 from mitto/fix-pumactl-uninitialized-constant-statefile
|
564
|
+
* Merge pull request #902 from corrupt952/fix_undefined_method_and_variable_when_execute_pumactl
|
565
|
+
* Merge pull request #905 from Eric-Guo/master
|
566
|
+
|
567
|
+
## 3.0.1 / 2016-02-25
|
568
|
+
|
569
|
+
* 1 bug fix:
|
570
|
+
|
571
|
+
* Removed the experimental support for async.callback as it broke
|
572
|
+
websockets entirely. Seems no server has both hijack and async.callback
|
573
|
+
and thus faye is totally confused what to do and doesn't work.
|
574
|
+
|
575
|
+
## 3.0.0 / 2016-02-25
|
576
|
+
|
577
|
+
* 2 major changes:
|
578
|
+
|
579
|
+
* Ruby pre-2.0 is no longer supported. We'll do our best to not add
|
580
|
+
features that break those rubies but will no longer be testing
|
581
|
+
with them.
|
582
|
+
* Don't log requests by default. Fixes #852
|
583
|
+
|
584
|
+
* 2 major features:
|
585
|
+
|
586
|
+
* Plugin support! Plugins can interact with configuration as well
|
587
|
+
as provide augment server functionality!
|
588
|
+
* Experimental env['async.callback'] support
|
589
|
+
|
590
|
+
* 4 minor features:
|
591
|
+
|
592
|
+
* Listen to unix socket with provided backlog if any
|
593
|
+
* Improves the clustered stats to report worker stats
|
594
|
+
* Pass the env to the lowlevel_error handler. Fixes #854
|
595
|
+
* Treat path-like hosts as unix sockets. Fixes #824
|
596
|
+
|
597
|
+
* 5 bug fixes:
|
598
|
+
|
599
|
+
* Clean thread locals when using keepalive. Fixes #823
|
600
|
+
* Cleanup compiler warnings. Fixes #815
|
601
|
+
* Expose closed? for use by the reactor. Fixes #835
|
602
|
+
* Move signal handlers to separate method to prevent space leak. Fixes #798
|
603
|
+
* Signal not full on worker exit #876
|
604
|
+
|
605
|
+
* 5 doc fixes:
|
606
|
+
|
607
|
+
* Update README.md with various grammar fixes
|
608
|
+
* Use newest version of Minitest
|
609
|
+
* Add directory configuration docs, fix typo [ci skip]
|
610
|
+
* Remove old COPYING notice. Fixes #849
|
611
|
+
|
612
|
+
* 10 merged PRs:
|
613
|
+
|
614
|
+
* Merge pull request #871 from deepj/travis
|
615
|
+
* Merge pull request #874 from wallclockbuilder/master
|
616
|
+
* Merge pull request #883 from dadah89/igor/trim_only_worker
|
617
|
+
* Merge pull request #884 from uistudio/async-callback
|
618
|
+
* Merge pull request #888 from mlarraz/tick_minitest
|
619
|
+
* Merge pull request #890 from todd/directory_docs
|
620
|
+
* Merge pull request #891 from ctaintor/improve_clustered_status
|
621
|
+
* Merge pull request #893 from spastorino/add_missing_require
|
622
|
+
* Merge pull request #897 from zendesk/master
|
623
|
+
* Merge pull request #899 from kch/kch-readme-fixes
|
624
|
+
|
625
|
+
## 2.16.0 / 2016-01-27
|
626
|
+
|
627
|
+
* 7 minor features:
|
628
|
+
|
629
|
+
* Add 'set_remote_address' config option
|
630
|
+
* Allow to run puma in silent mode
|
631
|
+
* Expose cli options in DSL
|
632
|
+
* Support passing JRuby keystore info in ssl_bind DSL
|
633
|
+
* Allow umask for unix:/// style control urls
|
634
|
+
* Expose `old_worker_count` in stats url
|
635
|
+
* Support TLS client auth (verify_mode) in jruby
|
636
|
+
|
637
|
+
* 7 bug fixes:
|
638
|
+
|
639
|
+
* Don't persist before_fork hook in state file
|
640
|
+
* Reload bundler before pulling in rack. Fixes #859
|
641
|
+
* Remove NEWRELIC_DISPATCHER env variable
|
642
|
+
* Cleanup C code
|
643
|
+
* Use Timeout.timeout instead of Object.timeout
|
644
|
+
* Make phased restarts faster
|
645
|
+
* Ignore the case of certain headers, because HTTP
|
646
|
+
|
647
|
+
* 1 doc changes:
|
648
|
+
|
649
|
+
* Test against the latest Ruby 2.1, 2.2, 2.3, head and JRuby 9.0.4.0 on Travis
|
650
|
+
|
651
|
+
* 12 merged PRs
|
652
|
+
* Merge pull request #822 from kwugirl/remove_NEWRELIC_DISPATCHER
|
653
|
+
* Merge pull request #833 from joemiller/jruby-client-tls-auth
|
654
|
+
* Merge pull request #837 from YuriSolovyov/ssl-keystore-jruby
|
655
|
+
* Merge pull request #839 from mezuka/master
|
656
|
+
* Merge pull request #845 from deepj/timeout-deprecation
|
657
|
+
* Merge pull request #846 from sriedel/strip_before_fork
|
658
|
+
* Merge pull request #850 from deepj/travis
|
659
|
+
* Merge pull request #853 from Jeffrey6052/patch-1
|
660
|
+
* Merge pull request #857 from zendesk/faster_phased_restarts
|
661
|
+
* Merge pull request #858 from mlarraz/fix_some_warnings
|
662
|
+
* Merge pull request #860 from zendesk/expose_old_worker_count
|
663
|
+
* Merge pull request #861 from zendesk/allow_control_url_umask
|
664
|
+
|
665
|
+
## 2.15.3 / 2015-11-07
|
666
|
+
|
667
|
+
* 1 bug fix:
|
668
|
+
|
669
|
+
* Fix JRuby parser
|
670
|
+
|
671
|
+
## 2.15.2 / 2015-11-06
|
672
|
+
|
673
|
+
* 2 bug fixes:
|
674
|
+
* ext/puma_http11: handle duplicate headers as per RFC
|
675
|
+
* Only set ctx.ca iff there is a params['ca'] to set with.
|
676
|
+
|
677
|
+
* 2 PRs merged:
|
678
|
+
* Merge pull request #818 from unleashed/support-duplicate-headers
|
679
|
+
* Merge pull request #819 from VictorLowther/fix-ca-and-verify_null-exception
|
680
|
+
|
681
|
+
## 2.15.1 / 2015-11-06
|
682
|
+
|
683
|
+
* 1 bug fix:
|
684
|
+
|
685
|
+
* Allow older openssl versions
|
686
|
+
|
687
|
+
## 2.15.0 / 2015-11-06
|
688
|
+
|
689
|
+
* 6 minor features:
|
690
|
+
* Allow setting ca without setting a verify mode
|
691
|
+
* Make jungle for init.d support rbenv
|
692
|
+
* Use SSL_CTX_use_certificate_chain_file for full chain
|
693
|
+
* cluster: add worker_boot_timeout option
|
694
|
+
* configuration: allow empty tags to mean no tag desired
|
695
|
+
* puma/cli: support specifying STD{OUT,ERR} redirections and append mode
|
696
|
+
|
697
|
+
* 5 bug fixes:
|
698
|
+
* Disable SSL Compression
|
699
|
+
* Fix bug setting worker_directory when using a symlink directory
|
700
|
+
* Fix error message in DSL that was slightly inaccurate
|
701
|
+
* Pumactl: set correct process name. Fixes #563
|
702
|
+
* thread_pool: fix race condition when shutting down workers
|
703
|
+
|
704
|
+
* 10 doc fixes:
|
705
|
+
* Add before_fork explanation in Readme.md
|
706
|
+
* Correct spelling in DEPLOYMENT.md
|
707
|
+
* Correct spelling in docs/nginx.md
|
708
|
+
* Fix spelling errors.
|
709
|
+
* Fix typo in deployment description
|
710
|
+
* Fix typos (it's -> its) in events.rb and server.rb
|
711
|
+
* fixing for typo mentioned in #803
|
712
|
+
* Spelling correction for README
|
713
|
+
* thread_pool: fix typos in comment
|
714
|
+
* More explicit docs for worker_timeout
|
715
|
+
|
716
|
+
* 18 PRs merged:
|
717
|
+
* Merge pull request #768 from nathansamson/patch-1
|
718
|
+
* Merge pull request #773 from rossta/spelling_corrections
|
719
|
+
* Merge pull request #774 from snow/master
|
720
|
+
* Merge pull request #781 from sunsations/fix-typo
|
721
|
+
* Merge pull request #791 from unleashed/allow_empty_tags
|
722
|
+
* Merge pull request #793 from robdimarco/fix-working-directory-symlink-bug
|
723
|
+
* Merge pull request #794 from peterkeen/patch-1
|
724
|
+
* Merge pull request #795 from unleashed/redirects-from-cmdline
|
725
|
+
* Merge pull request #796 from cschneid/fix_dsl_message
|
726
|
+
* Merge pull request #799 from annafw/master
|
727
|
+
* Merge pull request #800 from liamseanbrady/fix_typo
|
728
|
+
* Merge pull request #801 from scottjg/ssl-chain-file
|
729
|
+
* Merge pull request #802 from scottjg/ssl-crimes
|
730
|
+
* Merge pull request #804 from burningTyger/patch-2
|
731
|
+
* Merge pull request #809 from unleashed/threadpool-fix-race-in-shutdown
|
732
|
+
* Merge pull request #810 from vlmonk/fix-pumactl-restart-bug
|
733
|
+
* Merge pull request #814 from schneems/schneems/worker_timeout-docs
|
734
|
+
* Merge pull request #817 from unleashed/worker-boot-timeout
|
735
|
+
|
736
|
+
## 2.14.0 / 2015-09-18
|
737
|
+
|
738
|
+
* 1 minor feature:
|
739
|
+
* Make building with SSL support optional
|
740
|
+
|
741
|
+
* 1 bug fix:
|
742
|
+
* Use Rack::Builder if available. Fixes #735
|
743
|
+
|
744
|
+
## 2.13.4 / 2015-08-16
|
745
|
+
|
746
|
+
* 1 bug fix:
|
747
|
+
* Use the environment possible set by the config early and from
|
748
|
+
the config file later (if set).
|
749
|
+
|
750
|
+
## 2.13.3 / 2015-08-15
|
751
|
+
|
752
|
+
Seriously, I need to revamp config with tests.
|
753
|
+
|
754
|
+
* 1 bug fix:
|
755
|
+
* Fix preserving options before cleaning for state. Fixes #769
|
756
|
+
|
757
|
+
## 2.13.2 / 2015-08-15
|
758
|
+
|
759
|
+
The "clearly I don't have enough tests for the config" release.
|
760
|
+
|
761
|
+
* 1 bug fix:
|
762
|
+
* Fix another place binds wasn't initialized. Fixes #767
|
763
|
+
|
764
|
+
## 2.13.1 / 2015-08-15
|
765
|
+
|
766
|
+
* 2 bug fixes:
|
767
|
+
* Fix binds being masked in config files. Fixes #765
|
768
|
+
* Use options from the config file properly in pumactl. Fixes #764
|
769
|
+
|
770
|
+
## 2.13.0 / 2015-08-14
|
771
|
+
|
772
|
+
* 1 minor feature:
|
773
|
+
* Add before_fork hooks option.
|
774
|
+
|
775
|
+
* 3 bug fixes:
|
776
|
+
* Check for OPENSSL_NO_ECDH before using ECDH
|
777
|
+
* Eliminate logging overhead from JRuby SSL
|
778
|
+
* Prefer cli options over config file ones. Fixes #669
|
779
|
+
|
780
|
+
* 1 deprecation:
|
781
|
+
* Add deprecation warning to capistrano.rb. Fixes #673
|
782
|
+
|
783
|
+
* 4 PRs merged:
|
784
|
+
* Merge pull request #668 from kcollignon/patch-1
|
785
|
+
* Merge pull request #754 from nathansamson/before_boot
|
786
|
+
* Merge pull request #759 from BenV/fix-centos6-build
|
787
|
+
* Merge pull request #761 from looker/no-log
|
788
|
+
|
789
|
+
## 2.12.3 / 2015-08-03
|
790
|
+
|
791
|
+
* 8 minor bugs fixed:
|
792
|
+
* Fix Capistrano 'uninitialized constant Puma' error.
|
793
|
+
* Fix some ancient and incorrect error handling code
|
794
|
+
* Fix uninitialized constant error
|
795
|
+
* Remove toplevel rack interspection, require rack on load instead
|
796
|
+
* Skip empty parts when chunking
|
797
|
+
* Switch from inject to each in config_ru_binds iteration
|
798
|
+
* Wrap SSLv3 spec in version guard.
|
799
|
+
* ruby 1.8.7 compatibility patches
|
800
|
+
|
801
|
+
* 4 PRs merged:
|
802
|
+
* Merge pull request #742 from deivid-rodriguez/fix_missing_require
|
803
|
+
* Merge pull request #743 from matthewd/skip-empty-chunks
|
804
|
+
* Merge pull request #749 from huacnlee/fix-cap-uninitialized-puma-error
|
805
|
+
* Merge pull request #751 from costi/compat_1_8_7
|
806
|
+
|
807
|
+
* 1 test fix:
|
808
|
+
* Add 1.8.7, rbx-1 (allow failures) to Travis.
|
809
|
+
|
810
|
+
## 2.12.2 / 2015-07-17
|
811
|
+
|
812
|
+
* 2 bug fix:
|
813
|
+
* Pull over and use Rack::URLMap. Fixes #741
|
814
|
+
* Stub out peercert on JRuby for now. Fixes #739
|
815
|
+
|
816
|
+
## 2.12.1 / 2015-07-16
|
817
|
+
|
818
|
+
* 2 bug fixes:
|
819
|
+
* Use a constant format. Fixes #737
|
820
|
+
* Use strerror for Windows sake. Fixes #733
|
821
|
+
|
822
|
+
* 1 doc change:
|
823
|
+
* typo fix: occured -> occurred
|
824
|
+
|
825
|
+
* 1 PR merged:
|
826
|
+
* Merge pull request #736 from paulanunda/paulanunda/typo-fix
|
827
|
+
|
828
|
+
## 2.12.0 / 2015-07-14
|
829
|
+
|
830
|
+
* 13 bug fixes:
|
831
|
+
* Add thread reaping to thread pool
|
832
|
+
* Do not automatically use chunked responses when hijacked
|
833
|
+
* Do not suppress Content-Length on partial hijack
|
834
|
+
* Don't allow any exceptions to terminate a thread
|
835
|
+
* Handle ENOTCONN client disconnects when setting REMOTE_ADDR
|
836
|
+
* Handle very early exit of cluster mode. Fixes #722
|
837
|
+
* Install rack when running tests on travis to use rack/lint
|
838
|
+
* Make puma -v and -h return success exit code
|
839
|
+
* Make pumactl load config/puma.rb by default
|
840
|
+
* Pass options from pumactl properly when pruning. Fixes #694
|
841
|
+
* Remove rack dependency. Fixes #705
|
842
|
+
* Remove the default Content-Type: text/plain
|
843
|
+
* Add Client Side Certificate Auth
|
844
|
+
|
845
|
+
* 8 doc/test changes:
|
846
|
+
* Added example sourcing of environment vars
|
847
|
+
* Added tests for bind configuration on rackup file
|
848
|
+
* Fix example config text
|
849
|
+
* Update DEPLOYMENT.md
|
850
|
+
* Update Readme with example of custom error handler
|
851
|
+
* ci: Improve Travis settings
|
852
|
+
* ci: Start running tests against JRuby 9k on Travis
|
853
|
+
* ci: Convert to container infrastructure for travisci
|
854
|
+
|
855
|
+
* 2 ops changes:
|
856
|
+
* Check for system-wide rbenv
|
857
|
+
* capistrano: Add additional env when start rails
|
858
|
+
|
859
|
+
* 16 PRs merged:
|
860
|
+
* Merge pull request #686 from jjb/patch-2
|
861
|
+
* Merge pull request #693 from rob-murray/update-example-config
|
862
|
+
* Merge pull request #697 from spk/tests-bind-on-rackup-file
|
863
|
+
* Merge pull request #699 from deees/fix/require_rack_builder
|
864
|
+
* Merge pull request #701 from deepj/master
|
865
|
+
* Merge pull request #702 from Jimdo/thread-reaping
|
866
|
+
* Merge pull request #703 from deepj/travis
|
867
|
+
* Merge pull request #704 from grega/master
|
868
|
+
* Merge pull request #709 from lian/master
|
869
|
+
* Merge pull request #711 from julik/master
|
870
|
+
* Merge pull request #712 from yakara-ltd/pumactl-default-config
|
871
|
+
* Merge pull request #715 from RobotJiang/master
|
872
|
+
* Merge pull request #725 from rwz/master
|
873
|
+
* Merge pull request #726 from strenuus/handle-client-disconnect
|
874
|
+
* Merge pull request #729 from allaire/patch-1
|
875
|
+
* Merge pull request #730 from iamjarvo/container-infrastructure
|
876
|
+
|
877
|
+
## 2.11.3 / 2015-05-18
|
878
|
+
|
879
|
+
* 5 bug fixes:
|
880
|
+
* Be sure to unlink tempfiles after a request. Fixes #690
|
881
|
+
* Coerce the key to a string before checking. (thar be symbols). Fixes #684
|
882
|
+
* Fix hang on bad SSL handshake
|
883
|
+
* Remove `enable_SSLv3` support from JRuby
|
884
|
+
|
885
|
+
* 1 PR merged:
|
886
|
+
* Merge pull request #698 from looker/hang-handshake
|
887
|
+
|
888
|
+
## 2.11.2 / 2015-04-11
|
889
|
+
|
890
|
+
* 2 minor features:
|
891
|
+
* Add `on_worker_fork` hook, which allows to mimic Unicorn's behavior
|
892
|
+
* Add shutdown_debug config option
|
893
|
+
|
894
|
+
* 4 bug fixes:
|
895
|
+
* Fix the Config constants not being available in the DSL. Fixes #683
|
896
|
+
* Ignore multiple port declarations
|
897
|
+
* Proper 'Connection' header handling compatible with HTTP 1.[01] protocols
|
898
|
+
* Use "Puma" instead of "puma" to reporting to New Relic
|
899
|
+
|
900
|
+
* 1 doc fixes:
|
901
|
+
* Add Gitter badge.
|
902
|
+
|
903
|
+
* 6 PRs merged:
|
904
|
+
* Merge pull request #657 from schneems/schneems/puma-once-port
|
905
|
+
* Merge pull request #658 from Tomohiro/newrelic-dispatcher-default-update
|
906
|
+
* Merge pull request #662 from basecrm/connection-compatibility
|
907
|
+
* Merge pull request #664 from fxposter/on-worker-fork
|
908
|
+
* Merge pull request #667 from JuanitoFatas/doc/gemspec
|
909
|
+
* Merge pull request #672 from chulkilee/refactor
|
910
|
+
|
911
|
+
## 2.11.1 / 2015-02-11
|
912
|
+
|
913
|
+
* 2 bug fixes:
|
914
|
+
* Avoid crash in strange restart conditions
|
915
|
+
* Inject the GEM_HOME that bundler into puma-wild's env. Fixes #653
|
916
|
+
|
917
|
+
* 2 PRs merged:
|
918
|
+
* Merge pull request #644 from bpaquet/master
|
919
|
+
* Merge pull request #646 from mkonecny/master
|
920
|
+
|
921
|
+
## 2.11.0 / 2015-01-20
|
922
|
+
|
923
|
+
* 9 bug fixes:
|
924
|
+
* Add mode as an additional bind option to unix sockets. Fixes #630
|
925
|
+
* Advertise HTTPS properly after a hot restart
|
926
|
+
* Don't write lowlevel_error_handler to state
|
927
|
+
* Fix phased restart with stuck requests
|
928
|
+
* Handle spaces in the path properly. Fixes #622
|
929
|
+
* Set a default REMOTE_ADDR to avoid using peeraddr on unix sockets. Fixes #583
|
930
|
+
* Skip device number checking on jruby. Fixes #586
|
931
|
+
* Update extconf.rb to compile correctly on OS X
|
932
|
+
* redirect io right after daemonizing so startup errors are shown. Fixes #359
|
933
|
+
|
934
|
+
* 6 minor features:
|
935
|
+
* Add a configuration option that prevents puma from queueing requests.
|
936
|
+
* Add reload_worker_directory
|
937
|
+
* Add the ability to pass environment variables to the init script (for Jungle).
|
938
|
+
* Add the proctitle tag to the worker. Fixes #633
|
939
|
+
* Infer a proctitle tag based on the directory
|
940
|
+
* Update lowlevel error message to be more meaningful.
|
941
|
+
|
942
|
+
* 10 PRs merged:
|
943
|
+
* Merge pull request #478 from rubencaro/master
|
944
|
+
* Merge pull request #610 from kwilczynski/master
|
945
|
+
* Merge pull request #611 from jasonl/better-lowlevel-message
|
946
|
+
* Merge pull request #616 from jc00ke/master
|
947
|
+
* Merge pull request #623 from raldred/patch-1
|
948
|
+
* Merge pull request #628 from rdpoor/master
|
949
|
+
* Merge pull request #634 from deepj/master
|
950
|
+
* Merge pull request #637 from raskhadafi/patch-1
|
951
|
+
* Merge pull request #639 from ebeigarts/fix-phased-restarts
|
952
|
+
* Merge pull request #640 from codehotter/issue-612-dependent-requests-deadlock
|
953
|
+
|
954
|
+
## 2.10.2 / 2014-11-26
|
955
|
+
|
956
|
+
* 1 bug fix:
|
957
|
+
* Conditionalize thread local cleaning, fixes perf degradation fix
|
958
|
+
The code to clean out all Thread locals adds pretty significant
|
959
|
+
overhead to a each request, so it has to be turned on explicitly
|
960
|
+
if a user needs it.
|
961
|
+
|
962
|
+
## 2.10.1 / 2014-11-24
|
963
|
+
|
964
|
+
* 1 bug fix:
|
965
|
+
* Load the app after daemonizing because the app might start threads.
|
966
|
+
|
967
|
+
This change means errors loading the app are now reported only in the redirected
|
968
|
+
stdout/stderr.
|
969
|
+
|
970
|
+
If you're app has problems starting up, start it without daemon mode initially
|
971
|
+
to test.
|
972
|
+
|
973
|
+
## 2.10.0 / 2014-11-23
|
974
|
+
|
975
|
+
* 3 minor features:
|
976
|
+
* Added on_worker_shutdown hook mechanism
|
977
|
+
* Allow binding to ipv6 addresses for ssl URIs
|
978
|
+
* Warn about any threads started during app preload
|
979
|
+
|
980
|
+
* 5 bug fixes:
|
981
|
+
* Clean out a threads local data before doing work
|
982
|
+
* Disable SSLv3. Fixes #591
|
983
|
+
* First change the directory to use the correct Gemfile.
|
984
|
+
* Only use config.ru binds if specified. Fixes #606
|
985
|
+
* Strongish cipher suite with FS support for some browsers
|
986
|
+
|
987
|
+
* 2 doc changes:
|
988
|
+
* Change umask examples to more permissive values
|
989
|
+
* fix typo in README.md
|
990
|
+
|
991
|
+
* 9 Merged PRs:
|
992
|
+
* Merge pull request #560 from raskhadafi/prune_bundler-bug
|
993
|
+
* Merge pull request #566 from sheltond/master
|
994
|
+
* Merge pull request #593 from andruby/patch-1
|
995
|
+
* Merge pull request #594 from hassox/thread-cleanliness
|
996
|
+
* Merge pull request #596 from burningTyger/patch-1
|
997
|
+
* Merge pull request #601 from sorentwo/friendly-umask
|
998
|
+
* Merge pull request #602 from 1334/patch-1
|
999
|
+
* Merge pull request #608 from Gu1/master
|
1000
|
+
* Merge remote-tracking branch 'origin/pr/538'
|
1001
|
+
|
1002
|
+
## 2.9.2 / 2014-10-25
|
1003
|
+
|
1004
|
+
* 8 bug fixes:
|
1005
|
+
* Fix puma-wild handling a restart properly. Fixes #550
|
1006
|
+
* JRuby SSL POODLE update
|
1007
|
+
* Keep deprecated features warnings
|
1008
|
+
* Log the current time when Puma shuts down.
|
1009
|
+
* Fix cross-platform extension library detection
|
1010
|
+
* Use the correct Windows names for OpenSSL.
|
1011
|
+
* Better error logging during startup
|
1012
|
+
* Fixing sexist error messages
|
1013
|
+
|
1014
|
+
* 6 PRs merged:
|
1015
|
+
* Merge pull request #549 from bsnape/log-shutdown-time
|
1016
|
+
* Merge pull request #553 from lowjoel/master
|
1017
|
+
* Merge pull request #568 from mariuz/patch-1
|
1018
|
+
* Merge pull request #578 from danielbuechele/patch-1
|
1019
|
+
* Merge pull request #581 from alexch/slightly-better-logging
|
1020
|
+
* Merge pull request #590 from looker/jruby_disable_sslv3
|
1021
|
+
|
1022
|
+
## 2.9.1 / 2014-09-05
|
1023
|
+
|
1024
|
+
* 4 bug fixes:
|
1025
|
+
* Cleanup the SSL related structures properly, fixes memory leak
|
1026
|
+
* Fix thread spawning edge case.
|
1027
|
+
* Force a worker check after a worker boots, don't wait 5sec. Fixes #574
|
1028
|
+
* Implement SIGHUP for logs reopening
|
1029
|
+
|
1030
|
+
* 2 PRs merged:
|
1031
|
+
* Merge pull request #561 from theoldreader/sighup
|
1032
|
+
* Merge pull request #570 from havenwood/spawn-thread-edge-case
|
1033
|
+
|
1034
|
+
## 2.9.0 / 2014-07-12
|
1035
|
+
|
1036
|
+
* 1 minor feature:
|
1037
|
+
* Add SSL support for JRuby
|
1038
|
+
|
1039
|
+
* 3 bug fixes:
|
1040
|
+
* Typo BUNDLER_GEMFILE -> BUNDLE_GEMFILE
|
1041
|
+
* Use fast_write because we can't trust syswrite
|
1042
|
+
* pumactl - do not modify original ARGV
|
1043
|
+
|
1044
|
+
* 4 doc fixes:
|
1045
|
+
* BSD-3-Clause over BSD to avoid confusion
|
1046
|
+
* Deploy doc: clarification of the GIL
|
1047
|
+
* Fix typo in DEPLOYMENT.md
|
1048
|
+
* Update README.md
|
1049
|
+
|
1050
|
+
* 6 PRs merged:
|
1051
|
+
* Merge pull request #520 from misfo/patch-2
|
1052
|
+
* Merge pull request #530 from looker/jruby-ssl
|
1053
|
+
* Merge pull request #537 from vlmonk/patch-1
|
1054
|
+
* Merge pull request #540 from allaire/patch-1
|
1055
|
+
* Merge pull request #544 from chulkilee/bsd-3-clause
|
1056
|
+
* Merge pull request #551 from jcxplorer/patch-1
|
1057
|
+
|
1058
|
+
## 2.8.2 / 2014-04-12
|
1059
|
+
|
1060
|
+
* 4 bug fixes:
|
1061
|
+
* During upgrade, change directory in main process instead of workers.
|
1062
|
+
* Close the client properly on error
|
1063
|
+
* Capistrano: fallback from phased restart to start when not started
|
1064
|
+
* Allow tag option in conf file
|
1065
|
+
|
1066
|
+
* 4 doc fixes:
|
1067
|
+
* Fix Puma daemon service README typo
|
1068
|
+
* `preload_app!` instead of `preload_app`
|
1069
|
+
* add preload_app and prune_bundler to example config
|
1070
|
+
* allow changing of worker_timeout in config file
|
1071
|
+
|
1072
|
+
* 11 PRs merged:
|
1073
|
+
* Merge pull request #487 from ckuttruff/master
|
1074
|
+
* Merge pull request #492 from ckuttruff/master
|
1075
|
+
* Merge pull request #493 from alepore/config_tag
|
1076
|
+
* Merge pull request #503 from mariuz/patch-1
|
1077
|
+
* Merge pull request #505 from sammcj/patch-1
|
1078
|
+
* Merge pull request #506 from FlavourSys/config_worker_timeout
|
1079
|
+
* Merge pull request #510 from momer/rescue-block-handle-servers-fix
|
1080
|
+
* Merge pull request #511 from macool/patch-1
|
1081
|
+
* Merge pull request #514 from edogawaconan/refactor_env
|
1082
|
+
* Merge pull request #517 from misfo/patch-1
|
1083
|
+
* Merge pull request #518 from LongMan/master
|
1084
|
+
|
1085
|
+
## 2.8.1 / 2014-03-06
|
1086
|
+
|
1087
|
+
* 1 bug fixes:
|
1088
|
+
* Run puma-wild with proper deps for prune_bundler
|
1089
|
+
|
1090
|
+
* 2 doc changes:
|
1091
|
+
* Described the configuration file finding behavior added in 2.8.0 and how to disable it.
|
1092
|
+
* Start the deployment doc
|
1093
|
+
|
1094
|
+
* 6 PRs merged:
|
1095
|
+
* Merge pull request #471 from arthurnn/fix_test
|
1096
|
+
* Merge pull request #485 from joneslee85/patch-9
|
1097
|
+
* Merge pull request #486 from joshwlewis/patch-1
|
1098
|
+
* Merge pull request #490 from tobinibot/patch-1
|
1099
|
+
* Merge pull request #491 from brianknight10/clarify-no-config
|
1100
|
+
|
1101
|
+
## 2.8.0 / 2014-02-28
|
1102
|
+
|
1103
|
+
* 8 minor features:
|
1104
|
+
* Add ability to autoload a config file. Fixes #438
|
1105
|
+
* Add ability to detect and terminate hung workers. Fixes #333
|
1106
|
+
* Add booted_workers to stats response
|
1107
|
+
* Add config to customize the default error message
|
1108
|
+
* Add prune_bundler option
|
1109
|
+
* Add worker indexes, expose them via on_worker_boot. Fixes #440
|
1110
|
+
* Add pretty process name
|
1111
|
+
* Show the ruby version in use
|
1112
|
+
|
1113
|
+
* 7 bug fixes:
|
1114
|
+
* Added 408 status on timeout.
|
1115
|
+
* Be more hostile with sockets that write block. Fixes #449
|
1116
|
+
* Expect at_exit to exclusively remove the pidfile. Fixes #444
|
1117
|
+
* Expose latency and listen backlog via bind query. Fixes #370
|
1118
|
+
* JRuby raises IOError if the socket is there. Fixes #377
|
1119
|
+
* Process requests fairly. Fixes #406
|
1120
|
+
* Rescue SystemCallError as well. Fixes #425
|
1121
|
+
|
1122
|
+
* 4 doc changes:
|
1123
|
+
* Add 2.1.0 to the matrix
|
1124
|
+
* Add Code Climate badge to README
|
1125
|
+
* Create signals.md
|
1126
|
+
* Set the license to BSD. Fixes #432
|
1127
|
+
|
1128
|
+
* 14 PRs merged:
|
1129
|
+
* Merge pull request #428 from alexeyfrank/capistrano_default_hooks
|
1130
|
+
* Merge pull request #429 from namusyaka/revert-const_defined
|
1131
|
+
* Merge pull request #431 from mrb/master
|
1132
|
+
* Merge pull request #433 from alepore/process-name
|
1133
|
+
* Merge pull request #437 from ibrahima/master
|
1134
|
+
* Merge pull request #446 from sudara/master
|
1135
|
+
* Merge pull request #451 from pwiebe/status_408
|
1136
|
+
* Merge pull request #453 from joevandyk/patch-1
|
1137
|
+
* Merge pull request #470 from arthurnn/fix_458
|
1138
|
+
* Merge pull request #472 from rubencaro/master
|
1139
|
+
* Merge pull request #480 from jjb/docs-on-running-test-suite
|
1140
|
+
* Merge pull request #481 from schneems/master
|
1141
|
+
* Merge pull request #482 from prathamesh-sonpatki/signals-doc-cleanup
|
1142
|
+
* Merge pull request #483 from YotpoLtd/master
|
1143
|
+
|
1144
|
+
## 2.7.1 / 2013-12-05
|
1145
|
+
|
1146
|
+
* 1 bug fix:
|
1147
|
+
|
1148
|
+
* Keep STDOUT/STDERR the right mode. Fixes #422
|
1149
|
+
|
1150
|
+
## 2.7.0 / 2013-12-03
|
1151
|
+
|
1152
|
+
* 1 minor feature:
|
1153
|
+
* Adding TTIN and TTOU to increment/decrement workers
|
1154
|
+
|
1155
|
+
* N bug fixes:
|
1156
|
+
* Always use our Process.daemon because it's not busted
|
1157
|
+
* Add capistrano restart failback to start.
|
1158
|
+
* Change position of `cd` so that rvm gemset is loaded
|
1159
|
+
* Clarify some platform specifics
|
1160
|
+
* Do not close the pipe sockets when retrying
|
1161
|
+
* Fix String#byteslice for Ruby 1.9.1, 1.9.2
|
1162
|
+
* Fix compatibility with 1.8.7.
|
1163
|
+
* Handle IOError closed stream in IO.select
|
1164
|
+
* Increase the max URI path length to 2048 chars from 1024 chars
|
1165
|
+
* Upstart jungle use config/puma.rb instead
|
1166
|
+
|
1167
|
+
## 2.6.0 / 2013-09-13
|
1168
|
+
|
1169
|
+
* 2 minor features:
|
1170
|
+
* Add support for event hooks
|
1171
|
+
** Add a hook for state transitions
|
1172
|
+
* Add phased restart to capistrano recipe.
|
1173
|
+
|
1174
|
+
* 4 bug fixes:
|
1175
|
+
* Convince workers to stop by SIGKILL after timeout
|
1176
|
+
* Define RSTRING_NOT_MODIFIED for Rubinius performance
|
1177
|
+
* Handle BrokenPipe, StandardError and IOError in fat_wrote and break out
|
1178
|
+
* Return success status to the invoking environment
|
1179
|
+
|
1180
|
+
## 2.5.1 / 2013-08-13
|
1181
|
+
|
1182
|
+
* 2 bug fixes:
|
1183
|
+
|
1184
|
+
* Keep jruby daemon mode from retrying on a hot restart
|
1185
|
+
* Extract version from const.rb in gemspec
|
1186
|
+
|
1187
|
+
## 2.5.0 / 2013-08-08
|
1188
|
+
|
1189
|
+
* 2 minor features:
|
1190
|
+
* Allow configuring pumactl with config.rb
|
1191
|
+
* make `pumactl restart` start puma if not running
|
1192
|
+
|
1193
|
+
* 6 bug fixes:
|
1194
|
+
* Autodetect ruby managers and home directory in upstart script
|
1195
|
+
* Convert header values to string before sending.
|
1196
|
+
* Correctly report phased-restart availability
|
1197
|
+
* Fix pidfile creation/deletion race on jruby daemonization
|
1198
|
+
* Use integers when comparing thread counts
|
1199
|
+
* Fix typo in using lopez express (raw tcp) mode
|
1200
|
+
|
1201
|
+
* 6 misc changes:
|
1202
|
+
* Fix typo in phased-restart response
|
1203
|
+
* Uncomment setuid/setgid by default in upstart
|
1204
|
+
* Use Puma::Const::PUMA_VERSION in gemspec
|
1205
|
+
* Update upstart comments to reflect new commandline
|
1206
|
+
* Remove obsolete pumactl instructions; refer to pumactl for details
|
1207
|
+
* Make Bundler used puma.gemspec version agnostic
|
1208
|
+
|
1209
|
+
## 2.4.1 / 2013-08-07
|
1210
|
+
|
1211
|
+
* 1 experimental feature:
|
1212
|
+
* Support raw tcp servers (aka Lopez Express mode)
|
1213
|
+
|
1214
|
+
## 2.4.0 / 2013-07-22
|
1215
|
+
|
1216
|
+
* 5 minor features:
|
1217
|
+
* Add PUMA_JRUBY_DAEMON_OPTS to get around agent starting twice
|
1218
|
+
* Add ability to drain accept socket on shutdown
|
1219
|
+
* Add port to DSL
|
1220
|
+
* Adds support for using puma config file in capistrano deploys.
|
1221
|
+
* Make phased_restart fallback to restart if not available
|
1222
|
+
|
1223
|
+
* 10 bug fixes:
|
1224
|
+
|
1225
|
+
* Be sure to only delete the pid in the master. Fixes #334
|
1226
|
+
* Call out -C/--config flags
|
1227
|
+
* Change parser symbol names to avoid clash. Fixes #179
|
1228
|
+
* Convert thread pool sizes to integers
|
1229
|
+
* Detect when the jruby daemon child doesn't start properly
|
1230
|
+
* Fix typo in CLI help
|
1231
|
+
* Improve the logging output when hijack is used. Fixes #332
|
1232
|
+
* Remove unnecessary thread pool size conversions
|
1233
|
+
* Setup :worker_boot as an Array. Fixes #317
|
1234
|
+
* Use 127.0.0.1 as REMOTE_ADDR of unix client. Fixes #309
|
1235
|
+
|
1236
|
+
|
1237
|
+
## 2.3.2 / 2013-07-08
|
1238
|
+
|
1239
|
+
* 1 bug fix:
|
1240
|
+
|
1241
|
+
* Move starting control server to after daemonization.
|
1242
|
+
|
1243
|
+
## 2.3.1 / 2013-07-06
|
1244
|
+
|
1245
|
+
* 2 bug fixes:
|
1246
|
+
|
1247
|
+
* Include the right files in the Manifest.
|
1248
|
+
* Disable inheriting connections on restart on windows. Fixes #166
|
1249
|
+
|
1250
|
+
* 1 doc change:
|
1251
|
+
* Better document some platform constraints
|
1252
|
+
|
1253
|
+
## 2.3.0 / 2013-07-05
|
1254
|
+
|
1255
|
+
* 1 major bug fix:
|
1256
|
+
|
1257
|
+
* Stabilize control server, add support in cluster mode
|
1258
|
+
|
1259
|
+
* 5 minor bug fixes:
|
1260
|
+
|
1261
|
+
* Add ability to cleanup stale unix sockets
|
1262
|
+
* Check status data better. Fixes #292
|
1263
|
+
* Convert raw IO errors to ConnectionError. Fixes #274
|
1264
|
+
* Fix sending Content-Type and Content-Length for no body status. Fixes #304
|
1265
|
+
* Pass state path through to `pumactl start`. Fixes #287
|
1266
|
+
|
1267
|
+
* 2 internal changes:
|
1268
|
+
|
1269
|
+
* Refactored modes into seperate classes that CLI uses
|
1270
|
+
* Changed CLI to take an Events object instead of stdout/stderr (API change)
|
1271
|
+
|
1272
|
+
## 2.2.2 / 2013-07-02
|
1273
|
+
|
1274
|
+
* 1 bug fix:
|
1275
|
+
|
1276
|
+
* Fix restart_command in the config
|
1277
|
+
|
1278
|
+
## 2.2.1 / 2013-07-02
|
1279
|
+
|
1280
|
+
* 1 minor feature:
|
1281
|
+
|
1282
|
+
* Introduce preload flag
|
1283
|
+
|
1284
|
+
* 1 bug fix:
|
1285
|
+
|
1286
|
+
* Pass custom restart command in JRuby
|
1287
|
+
|
1288
|
+
## 2.2.0 / 2013-07-01
|
1289
|
+
|
1290
|
+
* 1 major feature:
|
1291
|
+
|
1292
|
+
* Add ability to preload rack app
|
1293
|
+
|
1294
|
+
* 2 minor bugfixes:
|
1295
|
+
|
1296
|
+
* Don't leak info when not in development. Fixes #256
|
1297
|
+
* Load the app, then bind the ports
|
1298
|
+
|
1299
|
+
## 2.1.1 / 2013-06-20
|
1300
|
+
|
1301
|
+
* 2 minor bug fixes:
|
1302
|
+
|
1303
|
+
* Fix daemonization on jruby
|
1304
|
+
* Load the application before daemonizing. Fixes #285
|
1305
|
+
|
1306
|
+
## 2.1.0 / 2013-06-18
|
1307
|
+
|
1308
|
+
* 3 minor features:
|
1309
|
+
* Allow listening socket to be configured via Capistrano variable
|
1310
|
+
* Output results from 'stat's command when using pumactl
|
1311
|
+
* Support systemd socket activation
|
1312
|
+
|
1313
|
+
* 15 bug fixes:
|
1314
|
+
* Deal with pipes closing while stopping. Fixes #270
|
1315
|
+
* Error out early if there is no app configured
|
1316
|
+
* Handle ConnectionError rather than the lowlevel exceptions
|
1317
|
+
* tune with `-C` config file and `on_worker_boot`
|
1318
|
+
* use `-w`
|
1319
|
+
* Fixed some typos in upstart scripts
|
1320
|
+
* Make sure to use bytesize instead of size (MiniSSL write)
|
1321
|
+
* Fix an error in puma-manager.conf
|
1322
|
+
* fix: stop leaking sockets on restart (affects ruby 1.9.3 or before)
|
1323
|
+
* Ignore errors on the cross-thread pipe. Fixes #246
|
1324
|
+
* Ignore errors while uncorking the socket (it might already be closed)
|
1325
|
+
* Ignore the body on a HEAD request. Fixes #278
|
1326
|
+
* Handle all engine data when possible. Fixes #251.
|
1327
|
+
* Handle all read exceptions properly. Fixes #252
|
1328
|
+
* Handle errors from the server better
|
1329
|
+
|
1330
|
+
* 3 doc changes:
|
1331
|
+
* Add note about on_worker_boot hook
|
1332
|
+
* Add some documentation for Clustered mode
|
1333
|
+
* Added quotes to /etc/puma.conf
|
1334
|
+
|
1335
|
+
## 2.0.1 / 2013-04-30
|
1336
|
+
|
1337
|
+
* 1 bug fix:
|
1338
|
+
|
1339
|
+
* Fix not starting on JRuby properly
|
1340
|
+
|
1341
|
+
## 2.0.0 / 2013-04-29
|
1342
|
+
|
1343
|
+
RailsConf 2013 edition!
|
1344
|
+
|
1345
|
+
* 2 doc changes:
|
1346
|
+
* Start with rackup -s Puma, NOT rackup -s puma.
|
1347
|
+
* Minor doc fixes in the README.md, Capistrano section
|
1348
|
+
|
1349
|
+
* 2 bug fixes:
|
1350
|
+
* Fix reading RACK_ENV properly. Fixes #234
|
1351
|
+
* Make cap recipe handle tmp/sockets; fixes #228
|
1352
|
+
|
1353
|
+
* 3 minor changes:
|
1354
|
+
* Fix capistrano recipe
|
1355
|
+
* Fix stdout/stderr logs to sync outputs
|
1356
|
+
* allow binding to IPv6 addresses
|
1357
|
+
|
1358
|
+
## 2.0.0.b7 / 2013-03-18
|
1359
|
+
|
1360
|
+
* 5 minor enhancements:
|
1361
|
+
|
1362
|
+
* Add -q option for :start
|
1363
|
+
* Add -V, --version
|
1364
|
+
* Add default Rack handler helper
|
1365
|
+
* Upstart support
|
1366
|
+
* Set worker directory from configuration file
|
1367
|
+
|
1368
|
+
* 12 bug fixes:
|
1369
|
+
|
1370
|
+
* Close the binder in the right place. Fixes #192
|
1371
|
+
* Handle early term in workers. Fixes #206
|
1372
|
+
* Make sure that the default port is 80 when the request doesn't include HTTP_X_FORWARDED_PROTO.
|
1373
|
+
* Prevent Errno::EBADF errors on restart when running ruby 2.0
|
1374
|
+
* Record the proper @master_pid
|
1375
|
+
* Respect the header HTTP_X_FORWARDED_PROTO when the host doesn't include a port number.
|
1376
|
+
* Retry EAGAIN/EWOULDBLOCK during syswrite
|
1377
|
+
* Run exec properly to restart. Fixes #154
|
1378
|
+
* Set Rack run_once to false
|
1379
|
+
* Syncronize all access to @timeouts. Fixes #208
|
1380
|
+
* Write out the state post-daemonize. Fixes #189
|
1381
|
+
* Prevent crash when all workers are gone
|
1382
|
+
|
1383
|
+
## 2.0.0.b6 / 2013-02-06
|
1384
|
+
|
1385
|
+
* 2 minor enhancements:
|
1386
|
+
|
1387
|
+
* Add hook for running when a worker boots
|
1388
|
+
* Advertise the Configuration object for apps to use.
|
1389
|
+
|
1390
|
+
* 1 bug fix:
|
1391
|
+
|
1392
|
+
* Change directory in working during upgrade. Fixes #185
|
1393
|
+
|
1394
|
+
## 2.0.0.b5 / 2013-02-05
|
1395
|
+
|
1396
|
+
* 2 major features:
|
1397
|
+
* Add phased worker upgrade
|
1398
|
+
* Add support for the rack hijack protocol
|
1399
|
+
|
1400
|
+
* 2 minor features:
|
1401
|
+
* Add -R to specify the restart command
|
1402
|
+
* Add config file option to specify the restart command
|
1403
|
+
|
1404
|
+
* 5 bug fixes:
|
1405
|
+
* Cleanup pipes properly. Fixes #182
|
1406
|
+
* Daemonize earlier so that we don't lose app threads. Fixes #183
|
1407
|
+
* Drain the notification pipe. Fixes #176, thanks @cryo28
|
1408
|
+
* Move write_pid to after we daemonize. Fixes #180
|
1409
|
+
* Redirect IO properly and emit message for checkpointing
|
1410
|
+
|
1411
|
+
## 2.0.0.b4 / 2012-12-12
|
1412
|
+
|
1413
|
+
* 4 bug fixes:
|
1414
|
+
* Properly check #syswrite's value for variable sized buffers. Fixes #170
|
1415
|
+
* Shutdown status server properly
|
1416
|
+
* Handle char vs byte and mixing syswrite with write properly
|
1417
|
+
* made MiniSSL validate key/cert file existence
|
1418
|
+
|
1419
|
+
## 2.0.0.b3 / 2012-11-22
|
1420
|
+
|
1421
|
+
* 1 bug fix:
|
1422
|
+
* Package right files in gem
|
1423
|
+
|
1424
|
+
## 2.0.0.b2 / 2012-11-18
|
1425
|
+
* 5 minor feature:
|
1426
|
+
* Now Puma is bundled with an capistrano recipe. Just require
|
1427
|
+
'puma/capistrano' in you deploy.rb
|
1428
|
+
* Only inject CommonLogger in development mode
|
1429
|
+
* Add -p option to pumactl
|
1430
|
+
* Add ability to use pumactl to start a server
|
1431
|
+
* Add options to daemonize puma
|
1432
|
+
|
1433
|
+
* 7 bug fixes:
|
1434
|
+
* Reset the IOBuffer properly. Fixes #148
|
1435
|
+
* Shutdown gracefully on JRuby with Ctrl-C
|
1436
|
+
* Various methods to get newrelic to start. Fixes #128
|
1437
|
+
* fixing syntax error at capistrano recipe
|
1438
|
+
* Force ECONNRESET when read returns nil
|
1439
|
+
* Be sure to empty the drain the todo before shutting down. Fixes #155
|
1440
|
+
* allow for alternate locations for status app
|
1441
|
+
|
1442
|
+
## 2.0.0.b1 / 2012-09-11
|
1443
|
+
|
1444
|
+
* 1 major feature:
|
1445
|
+
* Optional worker process mode (-w) to allow for process scaling in
|
1446
|
+
addition to thread scaling
|
1447
|
+
|
1448
|
+
* 1 bug fix:
|
1449
|
+
* Introduce Puma::MiniSSL to be able to properly control doing
|
1450
|
+
nonblocking SSL
|
1451
|
+
|
1452
|
+
NOTE: SSL support in JRuby is not supported at present. Support will
|
1453
|
+
be added back in a future date when a java Puma::MiniSSL is added.
|
1454
|
+
|
1455
|
+
## 1.6.3 / 2012-09-04
|
1456
|
+
|
1457
|
+
* 1 bug fix:
|
1458
|
+
* Close sockets waiting in the reactor when a hot restart is performed
|
1459
|
+
so that browsers reconnect on the next request
|
1460
|
+
|
1461
|
+
## 1.6.2 / 2012-08-27
|
1462
|
+
|
1463
|
+
* 1 bug fix:
|
1464
|
+
* Rescue StandardError instead of IOError to handle SystemCallErrors
|
1465
|
+
as well as other application exceptions inside the reactor.
|
1466
|
+
|
1467
|
+
## 1.6.1 / 2012-07-23
|
1468
|
+
|
1469
|
+
* 1 packaging bug fixed:
|
1470
|
+
* Include missing files
|
1471
|
+
|
1472
|
+
## 1.6.0 / 2012-07-23
|
1473
|
+
|
1474
|
+
* 1 major bug fix:
|
1475
|
+
* Prevent slow clients from starving the server by introducing a
|
1476
|
+
dedicated IO reactor thread. Credit for reporting goes to @meh.
|
1477
|
+
|
1478
|
+
## 1.5.0 / 2012-07-19
|
1479
|
+
|
1480
|
+
* 7 contributors to this release:
|
1481
|
+
* Christian Mayer
|
1482
|
+
* Darío Javier Cravero
|
1483
|
+
* Dirkjan Bussink
|
1484
|
+
* Gianluca Padovani
|
1485
|
+
* Santiago Pastorino
|
1486
|
+
* Thibault Jouan
|
1487
|
+
* tomykaira
|
1488
|
+
|
1489
|
+
* 6 bug fixes:
|
1490
|
+
* Define RSTRING_NOT_MODIFIED for Rubinius
|
1491
|
+
* Convert status to integer. Fixes #123
|
1492
|
+
* Delete pidfile when stopping the server
|
1493
|
+
* Allow compilation with -Werror=format-security option
|
1494
|
+
* Fix wrong HTTP version for a HTTP/1.0 request
|
1495
|
+
* Use String#bytesize instead of String#length
|
1496
|
+
|
1497
|
+
* 3 minor features:
|
1498
|
+
* Added support for setting RACK_ENV via the CLI, config file, and rack app
|
1499
|
+
* Allow Server#run to run sync. Fixes #111
|
1500
|
+
* Puma can now run on windows
|
1501
|
+
|
1502
|
+
## 1.4.0 / 2012-06-04
|
1503
|
+
|
1504
|
+
* 1 bug fix:
|
1505
|
+
* SCRIPT_NAME should be passed from env to allow mounting apps
|
1506
|
+
|
1507
|
+
* 1 experimental feature:
|
1508
|
+
* Add puma.socket key for direct socket access
|
1509
|
+
|
1510
|
+
## 1.3.1 / 2012-05-15
|
1511
|
+
|
1512
|
+
* 2 bug fixes:
|
1513
|
+
* use #bytesize instead of #length for Content-Length header
|
1514
|
+
* Use StringIO properly. Fixes #98
|
1515
|
+
|
1516
|
+
## 1.3.0 / 2012-05-08
|
1517
|
+
|
1518
|
+
* 2 minor features:
|
1519
|
+
* Return valid Rack responses (passes Lint) from status server
|
1520
|
+
* Add -I option to specify $LOAD_PATH directories
|
1521
|
+
|
1522
|
+
* 4 bug fixes:
|
1523
|
+
* Don't join the server thread inside the signal handle. Fixes #94
|
1524
|
+
* Make NullIO#read mimic IO#read
|
1525
|
+
* Only stop the status server if it's started. Fixes #84
|
1526
|
+
* Set RACK_ENV early in cli also. Fixes #78
|
1527
|
+
|
1528
|
+
* 1 new contributor:
|
1529
|
+
* Jesse Cooke
|
1530
|
+
|
1531
|
+
## 1.2.2 / 2012-04-28
|
1532
|
+
|
1533
|
+
* 4 bug fixes:
|
1534
|
+
|
1535
|
+
* Report a lowlevel error to stderr
|
1536
|
+
* Set a fallback SERVER_NAME and SERVER_PORT
|
1537
|
+
* Keep the encoding of the body correct. Fixes #79
|
1538
|
+
* show error.to_s along with backtrace for low-level error
|
1539
|
+
|
1540
|
+
## 1.2.1 / 2012-04-11
|
1541
|
+
|
1542
|
+
1 bug fix:
|
1543
|
+
|
1544
|
+
* Fix rack.url_scheme for SSL servers. Fixes #65
|
1545
|
+
|
1546
|
+
## 1.2.0 / 2012-04-11
|
1547
|
+
|
1548
|
+
1 major feature:
|
1549
|
+
|
1550
|
+
* When possible, the internal restart does a "hot restart" meaning
|
1551
|
+
the server sockets remains open, so no connections are lost.
|
1552
|
+
|
1553
|
+
1 minor feature:
|
1554
|
+
|
1555
|
+
* More helpful fallback error message
|
1556
|
+
|
1557
|
+
6 bug fixes:
|
1558
|
+
|
1559
|
+
* Pass the proper args to unknown_error. Fixes #54, #58
|
1560
|
+
* Stop the control server before restarting. Fixes #61
|
1561
|
+
* Fix reporting https only on a true SSL connection
|
1562
|
+
* Set the default content type to 'text/plain'. Fixes #63
|
1563
|
+
* Use REUSEADDR. Fixes #60
|
1564
|
+
* Shutdown gracefully on SIGTERM. Fixes #53
|
1565
|
+
|
1566
|
+
2 new contributors:
|
1567
|
+
|
1568
|
+
* Seamus Abshere
|
1569
|
+
* Steve Richert
|
1570
|
+
|
1571
|
+
## 1.1.1 / 2012-03-30
|
1572
|
+
|
1573
|
+
1 bugfix:
|
1574
|
+
|
1575
|
+
* Include puma/compat.rb in the gem (oops!)
|
1576
|
+
|
1577
|
+
## 1.1.0 / 2012-03-30
|
1578
|
+
|
1579
|
+
1 bugfix:
|
1580
|
+
|
1581
|
+
* Make sure that the unix socket has the perms 0777 by default
|
1582
|
+
|
1583
|
+
1 minor feature:
|
1584
|
+
|
1585
|
+
* Add umask param to the unix:// bind to set the umask
|
1586
|
+
|
1587
|
+
## 1.0.0 / 2012-03-29
|
1588
|
+
|
1589
|
+
* Released!
|
1590
|
+
|
1591
|
+
## Ignore - this is for maintainers to copy-paste during release
|
1592
|
+
## Master
|
1593
|
+
|
1594
|
+
* Features
|
1595
|
+
* Your feature goes here (#Github Number)
|
1596
|
+
|
1597
|
+
* Bugfixes
|
1598
|
+
* Your bugfix goes here (#Github Number)
|