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