puma 4.2.0

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.

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