puma 3.4.0 → 3.12.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 (71) hide show
  1. checksums.yaml +5 -5
  2. data/{History.txt → History.md} +356 -74
  3. data/README.md +143 -227
  4. data/docs/architecture.md +36 -0
  5. data/{DEPLOYMENT.md → docs/deployment.md} +1 -1
  6. data/docs/images/puma-connection-flow-no-reactor.png +0 -0
  7. data/docs/images/puma-connection-flow.png +0 -0
  8. data/docs/images/puma-general-arch.png +0 -0
  9. data/docs/plugins.md +28 -0
  10. data/docs/restart.md +39 -0
  11. data/docs/signals.md +56 -3
  12. data/docs/systemd.md +124 -22
  13. data/ext/puma_http11/extconf.rb +2 -0
  14. data/ext/puma_http11/http11_parser.c +291 -447
  15. data/ext/puma_http11/http11_parser.h +1 -0
  16. data/ext/puma_http11/http11_parser.rl +10 -9
  17. data/ext/puma_http11/http11_parser_common.rl +1 -1
  18. data/ext/puma_http11/io_buffer.c +7 -7
  19. data/ext/puma_http11/mini_ssl.c +67 -6
  20. data/ext/puma_http11/org/jruby/puma/Http11Parser.java +76 -94
  21. data/ext/puma_http11/org/jruby/puma/MiniSSL.java +15 -2
  22. data/ext/puma_http11/puma_http11.c +1 -0
  23. data/lib/puma.rb +13 -5
  24. data/lib/puma/app/status.rb +8 -0
  25. data/lib/puma/binder.rb +46 -21
  26. data/lib/puma/cli.rb +49 -33
  27. data/lib/puma/client.rb +149 -4
  28. data/lib/puma/cluster.rb +55 -13
  29. data/lib/puma/commonlogger.rb +19 -20
  30. data/lib/puma/compat.rb +3 -7
  31. data/lib/puma/configuration.rb +136 -131
  32. data/lib/puma/const.rb +19 -37
  33. data/lib/puma/control_cli.rb +38 -35
  34. data/lib/puma/convenient.rb +3 -3
  35. data/lib/puma/detect.rb +3 -1
  36. data/lib/puma/dsl.rb +86 -57
  37. data/lib/puma/events.rb +17 -13
  38. data/lib/puma/io_buffer.rb +1 -1
  39. data/lib/puma/jruby_restart.rb +0 -1
  40. data/lib/puma/launcher.rb +61 -30
  41. data/lib/puma/minissl.rb +85 -4
  42. data/lib/puma/null_io.rb +6 -13
  43. data/lib/puma/plugin.rb +12 -1
  44. data/lib/puma/plugin/tmp_restart.rb +1 -2
  45. data/lib/puma/rack/builder.rb +3 -0
  46. data/lib/puma/rack/urlmap.rb +9 -8
  47. data/lib/puma/reactor.rb +144 -0
  48. data/lib/puma/runner.rb +27 -1
  49. data/lib/puma/server.rb +135 -33
  50. data/lib/puma/single.rb +17 -3
  51. data/lib/puma/tcp_logger.rb +8 -1
  52. data/lib/puma/thread_pool.rb +70 -20
  53. data/lib/puma/util.rb +1 -5
  54. data/lib/rack/handler/puma.rb +58 -17
  55. data/tools/jungle/README.md +12 -2
  56. data/tools/jungle/init.d/README.md +9 -2
  57. data/tools/jungle/init.d/puma +85 -58
  58. data/tools/jungle/init.d/run-puma +16 -1
  59. data/tools/jungle/rc.d/README.md +74 -0
  60. data/tools/jungle/rc.d/puma +61 -0
  61. data/tools/jungle/rc.d/puma.conf +10 -0
  62. data/tools/jungle/upstart/puma.conf +1 -1
  63. data/tools/trickletest.rb +1 -1
  64. metadata +22 -94
  65. data/Gemfile +0 -13
  66. data/Manifest.txt +0 -78
  67. data/Rakefile +0 -158
  68. data/docs/config.md +0 -0
  69. data/lib/puma/rack/backports/uri/common_18.rb +0 -59
  70. data/lib/puma/rack/backports/uri/common_192.rb +0 -55
  71. data/puma.gemspec +0 -52
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 59d465d75e9f9cbc7ebb6ae7f26dfc531e995b2e
4
- data.tar.gz: 93ba7123b7902f390ada3d933b645b969db2afb0
2
+ SHA256:
3
+ metadata.gz: bff4687b24c136075e00b45d5314fd6326b6240733fff22c706096d10d8ec965
4
+ data.tar.gz: db2020f983ba02f7403e50f9f9391bd2f20e811fa42121147d4cbaf619e1d8d3
5
5
  SHA512:
6
- metadata.gz: ade21758b2cf93fefcfd443b0b19dcbd752ab4d3eff57ccfd86c3e08edb4330157a4f6259736007f73bc1770dc2a4ddc3c1ac696109f1ec944a30bdb6852d05c
7
- data.tar.gz: 3143e6dc4f02b4e2a0afbfe32434040211d0eb07623adceeb37c3d4774ded1a50863e31030606e3dd7d351fece77d948ee2f0ccdbab132cd426f133f94777d1f
6
+ metadata.gz: d6d7efcb9aeb437c07f49cb5a589ed016d888acab08f130bb382f2d470b301ec40ce3df90fbe4cf989bc84468633b180894c60daca377346d283210e6fedba98
7
+ data.tar.gz: 2d45380434e8d88d534a27db1a1f843d70b925a64065d55ee637153669b3c78f1539bf4c84ee166ec90636ba3ee948a97540c0bdbac5cc3d68809c86874038f8
@@ -1,4 +1,286 @@
1
- === 3.4.0 / 2016-04-07
1
+ ## 3.12.0 / 2018-07-13
2
+
3
+ * 5 features:
4
+ * You can now specify which SSL ciphers the server should support, default is unchanged (#1478)
5
+ * The setting for Puma's `max_threads` is now in `Puma.stats` (#1604)
6
+ * Pool capacity is now in `Puma.stats` (#1579)
7
+ * Installs restricted to Ruby 2.2+ (#1506)
8
+ * `--control` is now deprecated in favor of `--control-url` (#1487)
9
+
10
+ * 2 bugfixes:
11
+ * 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)
12
+ * In a test env puma now emits the stack on an exception (#1557)
13
+
14
+ ## 3.11.4 / 2018-04-12
15
+
16
+ * 2 features:
17
+ * Manage puma as a service using rc.d (#1529)
18
+ * Server stats are now available from a top level method (#1532)
19
+ * 5 bugfixes:
20
+ * Fix parsing CLI options (#1482)
21
+ * Order of stderr and stdout is made before redirecting to a log file (#1511)
22
+ * Init.d fix of `ps -p` to check if pid exists (#1545)
23
+ * Early hints bugfix (#1550)
24
+ * Purge interrupt queue when closing socket fails (#1553)
25
+
26
+ ## 3.11.3 / 2018-03-05
27
+
28
+ * 3 bugfixes:
29
+ * Add closed? to MiniSSL::Socket for use in reactor (#1510)
30
+ * Handle EOFError at the toplevel of the server threads (#1524) (#1507)
31
+ * Deal with zero sized bodies when using SSL (#1483)
32
+
33
+ ## 3.11.2 / 2018-01-19
34
+
35
+ * 1 bugfix:
36
+ * Deal with read\_nonblock returning nil early
37
+
38
+ ## 3.11.1 / 2018-01-18
39
+
40
+ * 1 bugfix:
41
+ * Handle read\_nonblock returning nil when the socket close (#1502)
42
+
43
+ ## 3.11.0 / 2017-11-20
44
+
45
+ * 2 features:
46
+ * HTTP 103 Early Hints (#1403)
47
+ * 421/451 status codes now have correct status messages attached (#1435)
48
+
49
+ * 9 bugfixes:
50
+ * Environment config files (/config/puma/<ENV>.rb) load correctly (#1340)
51
+ * Specify windows dependencies correctly (#1434, #1436)
52
+ * puma/events required in test helper (#1418)
53
+ * Correct control CLI's option help text (#1416)
54
+ * Remove a warning for unused variable in mini_ssl (#1409)
55
+ * Correct pumactl docs argument ordering (#1427)
56
+ * Fix an uninitialized variable warning in server.rb (#1430)
57
+ * Fix docs typo/error in Launcher init (#1429)
58
+ * Deal with leading spaces in RUBYOPT (#1455)
59
+
60
+ * 2 other:
61
+ * Add docs about internals (#1425, #1452)
62
+ * Tons of test fixes from @MSP-Greg (#1439, #1442, #1464)
63
+
64
+ ## 3.10.0 / 2017-08-17
65
+
66
+ * 3 features:
67
+ * The status server has a new /gc and /gc-status command. (#1384)
68
+ * The persistent and first data timeouts are now configurable (#1111)
69
+ * Implemented RFC 2324 (#1392)
70
+
71
+ * 12 bugfixes:
72
+ * 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)
73
+ * Fix hangups with SSL and persistent connections. (#1334)
74
+ * Fix Rails double-binding to a port (#1383)
75
+ * Fix incorrect thread names (#1368)
76
+ * Fix issues with /etc/hosts and JRuby where localhost addresses were not correct. (#1318)
77
+ * Fix compatibility with RUBYOPT="--enable-frozen-string-literal" (#1376)
78
+ * Fixed some compiler warnings (#1388)
79
+ * We actually run the integration tests in CI now (#1390)
80
+ * No longer shipping unnecessary directories in the gemfile (#1391)
81
+ * If RUBYOPT is nil, we no longer blow up on restart. (#1385)
82
+ * Correct response to SIGINT (#1377)
83
+ * Proper exit code returned when we receive a TERM signal (#1337)
84
+
85
+ * 3 refactors:
86
+ * Various test improvements from @grosser
87
+ * Rubocop (#1325)
88
+ * Hoe has been removed (#1395)
89
+
90
+ * 1 known issue:
91
+ * Socket activation doesn't work in JRuby. Their fault, not ours. (#1367)
92
+
93
+ ## 3.9.1 / 2017-06-03
94
+
95
+ * 2 bugfixes:
96
+ * Fixed compatibility with older Bundler versions (#1314)
97
+ * Some internal test/development cleanup (#1311, #1313)
98
+
99
+ ## 3.9.0 / 2017-06-01
100
+
101
+ * 2 features:
102
+ * The ENV is now reset to its original values when Puma restarts via USR1/USR2 (#1260) (MRI only, no JRuby support)
103
+ * Puma will no longer accept more clients than the maximum number of threads. (#1278)
104
+
105
+ * 9 bugfixes:
106
+ * Reduce information leakage by preventing HTTP parse errors from writing environment hashes to STDERR (#1306)
107
+ * Fix SSL/WebSocket compatibility (#1274)
108
+ * HTTP headers with empty values are no longer omitted from responses. (#1261)
109
+ * Fix a Rack env key which was set to nil. (#1259)
110
+ * peercert has been implemented for JRuby (#1248)
111
+ * Fix port settings when using rails s (#1277, #1290)
112
+ * Fix compat w/LibreSSL (#1285)
113
+ * Fix restarting Puma w/symlinks and a new Gemfile (#1282)
114
+ * Replace Dir.exists? with Dir.exist? (#1294)
115
+
116
+ * 1 known issue:
117
+ * 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.
118
+
119
+ * 1 refactor:
120
+ * Lots of test fixups from @grosser.
121
+
122
+ ## 3.8.2 / 2017-03-14
123
+
124
+ * 1 bugfix:
125
+ * Deal with getsockopt with TCP\_INFO failing for sockets that say they're TCP but aren't really. (#1241)
126
+
127
+ ## 3.8.1 / 2017-03-10
128
+
129
+ * 1 bugfix:
130
+ * Remove method call to method that no longer exists (#1239)
131
+
132
+ ## 3.8.0 / 2017-03-09
133
+
134
+ * 2 bugfixes:
135
+ * Port from rack handler does not take precedence over config file in Rails 5.1.0.beta2+ and 5.0.1.rc3+ (#1234)
136
+ * The `tmp/restart.txt` plugin no longer restricts the user from running more than one server from the same folder at a time (#1226)
137
+
138
+ * 1 feature:
139
+ * Closed clients are aborted to save capacity (#1227)
140
+
141
+ * 1 refactor:
142
+ * Bundler is no longer a dependency from tests (#1213)
143
+
144
+ ## 3.7.1 / 2017-02-20
145
+
146
+ * 2 bugfixes:
147
+ * Fix typo which blew up MiniSSL (#1182)
148
+ * Stop overriding command-line options with the config file (#1203)
149
+
150
+ ## 3.7.0 / 2017-01-04
151
+
152
+ * 6 minor features:
153
+ * Allow rack handler to accept ssl host. (#1129)
154
+ * Refactor TTOU processing. TTOU now handles multiple signals at once. (#1165)
155
+ * Pickup any remaining chunk data as the next request.
156
+ * Prevent short term thread churn - increased auto trim default to 30 seconds.
157
+ * Raise error when `stdout` or `stderr` is not writable. (#1175)
158
+ * Add Rack 2.0 support to gemspec. (#1068)
159
+
160
+ * 5 refactors:
161
+ * Compare host and server name only once per call. (#1091)
162
+ * Minor refactor on Thread pool (#1088)
163
+ * Removed a ton of unused constants, variables and files.
164
+ * Use MRI macros when allocating heap memory
165
+ * Use hooks for on\_booted event. (#1160)
166
+
167
+ * 14 bugfixes:
168
+ * Add eof? method to NullIO? (#1169)
169
+ * Fix Puma startup in provided init.d script (#1061)
170
+ * Fix default SSL mode back to none. (#1036)
171
+ * Fixed the issue of @listeners getting nil io (#1120)
172
+ * Make `get_dh1024` compatible with OpenSSL v1.1.0 (#1178)
173
+ * More gracefully deal with SSL sessions. Fixes #1002
174
+ * Move puma.rb to just autoloads. Fixes #1063
175
+ * MiniSSL: Provide write as <<. Fixes #1089
176
+ * Prune bundler should inherit fds (#1114)
177
+ * Replace use of Process.getpgid which does not behave as intended on all platforms (#1110)
178
+ * Transfer encoding header should be downcased before comparison (#1135)
179
+ * Use same write log logic for hijacked requests. (#1081)
180
+ * Fix `uninitialized constant Puma::StateFile` (#1138)
181
+ * Fix access priorities of each level in LeveledOptions (#1118)
182
+
183
+ * 3 others:
184
+
185
+ * Lots of tests added/fixed/improved. Switched to Minitest from Test::Unit. Big thanks to @frodsan.
186
+ * Lots of documentation added/improved.
187
+ * Add license indicators to the HTTP extension. (#1075)
188
+
189
+ ## 3.6.2 / 2016-11-22
190
+
191
+ * 1 bug fix:
192
+
193
+ * Revert #1118/Fix access priorities of each level in LeveledOptions. This
194
+ had an unintentional side effect of changing the importance of command line
195
+ options, such as -p.
196
+
197
+ ## 3.6.1 / 2016-11-21
198
+
199
+ * 8 bug fixes:
200
+
201
+ * Fix Puma start in init.d script.
202
+ * Fix default SSL mode back to none. Fixes #1036
203
+ * Fixed the issue of @listeners getting nil io, fix rails restart (#1120)
204
+ * More gracefully deal with SSL sessions. Fixes #1002
205
+ * Prevent short term thread churn.
206
+ * Provide write as <<. Fixes #1089
207
+ * Fix access priorities of each level in LeveledOptions - fixes TTIN.
208
+ * Stub description files updated for init.d.
209
+
210
+ * 2 new project committers:
211
+
212
+ * Nate Berkopec (@nateberkopec)
213
+ * Richard Schneeman (@schneems)
214
+
215
+ ## 3.6.0 / 2016-07-24
216
+
217
+ * 12 bug fixes:
218
+ * Add ability to detect a shutting down server. Fixes #932
219
+ * Add support for Expect: 100-continue. Fixes #519
220
+ * Check SSLContext better. Fixes #828
221
+ * Clarify behavior of '-t num'. Fixes #984
222
+ * Don't default to VERIFY_PEER. Fixes #1028
223
+ * Don't use ENV['PWD'] on windows. Fixes #1023
224
+ * Enlarge the scope of catching app exceptions. Fixes #1027
225
+ * Execute background hooks after daemonizing. Fixes #925
226
+ * Handle HUP as a stop unless there is IO redirection. Fixes #911
227
+ * Implement chunked request handling. Fixes #620
228
+ * Just rescue exception to return a 500. Fixes #1027
229
+ * Redirect IO in the jruby daemon mode. Fixes #778
230
+
231
+ ## 3.5.2 / 2016-07-20
232
+
233
+ * 1 bug fix:
234
+ * Don't let persistent_timeout be nil
235
+
236
+ * 1 PR merged:
237
+ * Merge pull request #1021 from benzrf/patch-1
238
+
239
+ ## 3.5.1 / 2016-07-20
240
+
241
+ * 1 bug fix:
242
+ * Be sure to only listen on host:port combos once. Fixes #1022
243
+
244
+ ## 3.5.0 / 2016-07-18
245
+
246
+ * 1 minor features:
247
+ * Allow persistent_timeout to be configured via the dsl.
248
+
249
+ * 9 bug fixes:
250
+ * Allow a bare % in a query string. Fixes #958
251
+ * Explicitly listen on all localhost addresses. Fixes #782
252
+ * Fix `TCPLogger` log error in tcp cluster mode.
253
+ * Fix puma/puma#968 Cannot bind SSL port due to missing verify_mode option
254
+ * Fix puma/puma#968 Default verify_mode to peer
255
+ * Log any exceptions in ThreadPool. Fixes #1010
256
+ * Silence connection errors in the reactor. Fixes #959
257
+ * Tiny fixes in hook documentation for #840
258
+ * It should not log requests if we want it to be quiet
259
+
260
+ * 5 doc fixes:
261
+ * Add How to stop Puma on Heroku using plugins to the example directory
262
+ * Provide both hot and phased restart in jungle script
263
+ * Update reference to the instances management script
264
+ * Update default number of threads
265
+ * Fix typo in example config
266
+
267
+ * 14 PRs merged:
268
+ * Merge pull request #1007 from willnet/patch-1
269
+ * Merge pull request #1014 from jeznet/patch-1
270
+ * Merge pull request #1015 from bf4/patch-1
271
+ * Merge pull request #1017 from jorihardman/configurable_persistent_timeout
272
+ * Merge pull request #954 from jf/master
273
+ * Merge pull request #955 from jf/add-request-info-to-standard-error-rescue
274
+ * Merge pull request #956 from maxkwallace/master
275
+ * Merge pull request #960 from kmayer/kmayer-plugins-heroku-restart
276
+ * Merge pull request #969 from frankwong15/master
277
+ * Merge pull request #970 from willnet/delete-blank-document
278
+ * Merge pull request #974 from rocketjob/feature/name_threads
279
+ * Merge pull request #977 from snow/master
280
+ * Merge pull request #981 from zach-chai/patch-1
281
+ * Merge pull request #993 from scorix/master
282
+
283
+ ## 3.4.0 / 2016-04-07
2
284
 
3
285
  * 2 minor features:
4
286
  * Add ability to force threads to stop on shutdown. Fixes #938
@@ -21,7 +303,7 @@
21
303
  * Merge pull request #946 from vipulnsward/rm-pid
22
304
  * Merge pull request #947 from vipulnsward/housekeeping-typos
23
305
 
24
- === 3.3.0 / 2016-04-05
306
+ ## 3.3.0 / 2016-04-05
25
307
 
26
308
  * 2 minor features:
27
309
  * Allow overriding options of Configuration object
@@ -36,7 +318,7 @@
36
318
  * Merge pull request #940 from kyledrake/signalsdoc
37
319
  * Merge pull request #942 from dekellum/socket-activate-improve
38
320
 
39
- === 3.2.0 / 2016-03-20
321
+ ## 3.2.0 / 2016-03-20
40
322
 
41
323
  * 1 deprecation removal:
42
324
  * Delete capistrano.rb
@@ -50,7 +332,7 @@
50
332
  * Merge pull request #927 from jlecour/gemfile_variants
51
333
  * Merge pull request #931 from joneslee85/patch-10
52
334
 
53
- === 3.1.1 / 2016-03-17
335
+ ## 3.1.1 / 2016-03-17
54
336
 
55
337
  * 4 bug fixes:
56
338
  * Disable USR1 usage on JRuby
@@ -63,7 +345,7 @@
63
345
  * Merge pull request #921 from swrobel/patch-1
64
346
  * Merge pull request #924 from tbrisker/patch-1
65
347
 
66
- === 3.1.0 / 2016-03-05
348
+ ## 3.1.0 / 2016-03-05
67
349
 
68
350
  * 1 minor feature:
69
351
  * Add 'import' directive to config file. Fixes #916
@@ -74,7 +356,7 @@
74
356
  * Recreate the proper args manually. Fixes #910
75
357
  * Require 'time' to get iso8601. Fixes #914
76
358
 
77
- === 3.0.2 / 2016-02-26
359
+ ## 3.0.2 / 2016-02-26
78
360
 
79
361
  * 5 bug fixes:
80
362
 
@@ -90,7 +372,7 @@
90
372
  * Merge pull request #902 from corrupt952/fix_undefined_method_and_variable_when_execute_pumactl
91
373
  * Merge pull request #905 from Eric-Guo/master
92
374
 
93
- === 3.0.1 / 2016-02-25
375
+ ## 3.0.1 / 2016-02-25
94
376
 
95
377
  * 1 bug fix:
96
378
 
@@ -98,7 +380,7 @@
98
380
  websockets entirely. Seems no server has both hijack and async.callback
99
381
  and thus faye is totally confused what to do and doesn't work.
100
382
 
101
- === 3.0.0 / 2016-02-25
383
+ ## 3.0.0 / 2016-02-25
102
384
 
103
385
  * 2 major changes:
104
386
 
@@ -148,7 +430,7 @@
148
430
  * Merge pull request #897 from zendesk/master
149
431
  * Merge pull request #899 from kch/kch-readme-fixes
150
432
 
151
- === 2.16.0 / 2016-01-27
433
+ ## 2.16.0 / 2016-01-27
152
434
 
153
435
  * 7 minor features:
154
436
 
@@ -188,13 +470,13 @@
188
470
  * Merge pull request #860 from zendesk/expose_old_worker_count
189
471
  * Merge pull request #861 from zendesk/allow_control_url_umask
190
472
 
191
- === 2.15.3 / 2015-11-07
473
+ ## 2.15.3 / 2015-11-07
192
474
 
193
475
  * 1 bug fix:
194
476
 
195
477
  * Fix JRuby parser
196
478
 
197
- === 2.15.2 / 2015-11-06
479
+ ## 2.15.2 / 2015-11-06
198
480
 
199
481
  * 2 bug fixes:
200
482
  * ext/puma_http11: handle duplicate headers as per RFC
@@ -204,13 +486,13 @@
204
486
  * Merge pull request #818 from unleashed/support-duplicate-headers
205
487
  * Merge pull request #819 from VictorLowther/fix-ca-and-verify_null-exception
206
488
 
207
- === 2.15.1 / 2015-11-06
489
+ ## 2.15.1 / 2015-11-06
208
490
 
209
491
  * 1 bug fix:
210
492
 
211
493
  * Allow older openssl versions
212
494
 
213
- === 2.15.0 / 2015-11-06
495
+ ## 2.15.0 / 2015-11-06
214
496
 
215
497
  * 6 minor features:
216
498
  * Allow setting ca without setting a verify mode
@@ -259,7 +541,7 @@
259
541
  * Merge pull request #814 from schneems/schneems/worker_timeout-docs
260
542
  * Merge pull request #817 from unleashed/worker-boot-timeout
261
543
 
262
- === 2.14.0 / 2015-09-18
544
+ ## 2.14.0 / 2015-09-18
263
545
 
264
546
  * 1 minor feature:
265
547
  * Make building with SSL support optional
@@ -267,33 +549,33 @@
267
549
  * 1 bug fix:
268
550
  * Use Rack::Builder if available. Fixes #735
269
551
 
270
- === 2.13.4 / 2015-08-16
552
+ ## 2.13.4 / 2015-08-16
271
553
 
272
554
  * 1 bug fix:
273
555
  * Use the environment possible set by the config early and from
274
556
  the config file later (if set).
275
557
 
276
- === 2.13.3 / 2015-08-15
558
+ ## 2.13.3 / 2015-08-15
277
559
 
278
560
  Seriously, I need to revamp config with tests.
279
561
 
280
562
  * 1 bug fix:
281
563
  * Fix preserving options before cleaning for state. Fixes #769
282
564
 
283
- === 2.13.2 / 2015-08-15
565
+ ## 2.13.2 / 2015-08-15
284
566
 
285
567
  The "clearly I don't have enough tests for the config" release.
286
568
 
287
569
  * 1 bug fix:
288
570
  * Fix another place binds wasn't initialized. Fixes #767
289
571
 
290
- === 2.13.1 / 2015-08-15
572
+ ## 2.13.1 / 2015-08-15
291
573
 
292
574
  * 2 bug fixes:
293
575
  * Fix binds being masked in config files. Fixes #765
294
576
  * Use options from the config file properly in pumactl. Fixes #764
295
577
 
296
- === 2.13.0 / 2015-08-14
578
+ ## 2.13.0 / 2015-08-14
297
579
 
298
580
  * 1 minor feature:
299
581
  * Add before_fork hooks option.
@@ -312,7 +594,7 @@ The "clearly I don't have enough tests for the config" release.
312
594
  * Merge pull request #759 from BenV/fix-centos6-build
313
595
  * Merge pull request #761 from looker/no-log
314
596
 
315
- === 2.12.3 / 2015-08-03
597
+ ## 2.12.3 / 2015-08-03
316
598
 
317
599
  * 8 minor bugs fixed:
318
600
  * Fix Capistrano 'uninitialized constant Puma' error.
@@ -333,13 +615,13 @@ The "clearly I don't have enough tests for the config" release.
333
615
  * 1 test fix:
334
616
  * Add 1.8.7, rbx-1 (allow failures) to Travis.
335
617
 
336
- === 2.12.2 / 2015-07-17
618
+ ## 2.12.2 / 2015-07-17
337
619
 
338
620
  * 2 bug fix:
339
621
  * Pull over and use Rack::URLMap. Fixes #741
340
622
  * Stub out peercert on JRuby for now. Fixes #739
341
623
 
342
- === 2.12.1 / 2015-07-16
624
+ ## 2.12.1 / 2015-07-16
343
625
 
344
626
  * 2 bug fixes:
345
627
  * Use a constant format. Fixes #737
@@ -351,7 +633,7 @@ The "clearly I don't have enough tests for the config" release.
351
633
  * 1 PR merged:
352
634
  * Merge pull request #736 from paulanunda/paulanunda/typo-fix
353
635
 
354
- === 2.12.0 / 2015-07-14
636
+ ## 2.12.0 / 2015-07-14
355
637
 
356
638
  * 13 bug fixes:
357
639
  * Add thread reaping to thread pool
@@ -400,7 +682,7 @@ The "clearly I don't have enough tests for the config" release.
400
682
  * Merge pull request #729 from allaire/patch-1
401
683
  * Merge pull request #730 from iamjarvo/container-infrastructure
402
684
 
403
- === 2.11.3 / 2015-05-18
685
+ ## 2.11.3 / 2015-05-18
404
686
 
405
687
  * 5 bug fixes:
406
688
  * Be sure to unlink tempfiles after a request. Fixes #690
@@ -411,7 +693,7 @@ The "clearly I don't have enough tests for the config" release.
411
693
  * 1 PR merged:
412
694
  * Merge pull request #698 from looker/hang-handshake
413
695
 
414
- === 2.11.2 / 2015-04-11
696
+ ## 2.11.2 / 2015-04-11
415
697
 
416
698
  * 2 minor features:
417
699
  * Add `on_worker_fork` hook, which allows to mimic Unicorn's behavior
@@ -434,7 +716,7 @@ The "clearly I don't have enough tests for the config" release.
434
716
  * Merge pull request #667 from JuanitoFatas/doc/gemspec
435
717
  * Merge pull request #672 from chulkilee/refactor
436
718
 
437
- === 2.11.1 / 2015-02-11
719
+ ## 2.11.1 / 2015-02-11
438
720
 
439
721
  * 2 bug fixes:
440
722
  * Avoid crash in strange restart conditions
@@ -444,7 +726,7 @@ The "clearly I don't have enough tests for the config" release.
444
726
  * Merge pull request #644 from bpaquet/master
445
727
  * Merge pull request #646 from mkonecny/master
446
728
 
447
- === 2.11.0 / 2015-01-20
729
+ ## 2.11.0 / 2015-01-20
448
730
 
449
731
  * 9 bug fixes:
450
732
  * Add mode as an additional bind option to unix sockets. Fixes #630
@@ -477,7 +759,7 @@ The "clearly I don't have enough tests for the config" release.
477
759
  * Merge pull request #639 from ebeigarts/fix-phased-restarts
478
760
  * Merge pull request #640 from codehotter/issue-612-dependent-requests-deadlock
479
761
 
480
- === 2.10.2 / 2014-11-26
762
+ ## 2.10.2 / 2014-11-26
481
763
 
482
764
  * 1 bug fix:
483
765
  * Conditionalize thread local cleaning, fixes perf degradation fix
@@ -485,7 +767,7 @@ The "clearly I don't have enough tests for the config" release.
485
767
  overhead to a each request, so it has to be turned on explicitly
486
768
  if a user needs it.
487
769
 
488
- === 2.10.1 / 2014-11-24
770
+ ## 2.10.1 / 2014-11-24
489
771
 
490
772
  * 1 bug fix:
491
773
  * Load the app after daemonizing because the app might start threads.
@@ -496,7 +778,7 @@ The "clearly I don't have enough tests for the config" release.
496
778
  If you're app has problems starting up, start it without daemon mode initially
497
779
  to test.
498
780
 
499
- === 2.10.0 / 2014-11-23
781
+ ## 2.10.0 / 2014-11-23
500
782
 
501
783
  * 3 minor features:
502
784
  * Added on_worker_shutdown hook mechanism
@@ -525,7 +807,7 @@ The "clearly I don't have enough tests for the config" release.
525
807
  * Merge pull request #608 from Gu1/master
526
808
  * Merge remote-tracking branch 'origin/pr/538'
527
809
 
528
- === 2.9.2 / 2014-10-25
810
+ ## 2.9.2 / 2014-10-25
529
811
 
530
812
  * 8 bug fixes:
531
813
  * Fix puma-wild handling a restart properly. Fixes #550
@@ -545,7 +827,7 @@ The "clearly I don't have enough tests for the config" release.
545
827
  * Merge pull request #581 from alexch/slightly-better-logging
546
828
  * Merge pull request #590 from looker/jruby_disable_sslv3
547
829
 
548
- === 2.9.1 / 2014-09-05
830
+ ## 2.9.1 / 2014-09-05
549
831
 
550
832
  * 4 bug fixes:
551
833
  * Cleanup the SSL related structures properly, fixes memory leak
@@ -557,7 +839,7 @@ The "clearly I don't have enough tests for the config" release.
557
839
  * Merge pull request #561 from theoldreader/sighup
558
840
  * Merge pull request #570 from havenwood/spawn-thread-edge-case
559
841
 
560
- === 2.9.0 / 2014-07-12
842
+ ## 2.9.0 / 2014-07-12
561
843
 
562
844
  * 1 minor feature:
563
845
  * Add SSL support for JRuby
@@ -581,7 +863,7 @@ The "clearly I don't have enough tests for the config" release.
581
863
  * Merge pull request #544 from chulkilee/bsd-3-clause
582
864
  * Merge pull request #551 from jcxplorer/patch-1
583
865
 
584
- === 2.8.2 / 2014-04-12
866
+ ## 2.8.2 / 2014-04-12
585
867
 
586
868
  * 4 bug fixes:
587
869
  * During upgrade, change directory in main process instead of workers.
@@ -608,7 +890,7 @@ The "clearly I don't have enough tests for the config" release.
608
890
  * Merge pull request #517 from misfo/patch-1
609
891
  * Merge pull request #518 from LongMan/master
610
892
 
611
- === 2.8.1 / 2014-03-06
893
+ ## 2.8.1 / 2014-03-06
612
894
 
613
895
  * 1 bug fixes:
614
896
  * Run puma-wild with proper deps for prune_bundler
@@ -624,7 +906,7 @@ The "clearly I don't have enough tests for the config" release.
624
906
  * Merge pull request #490 from tobinibot/patch-1
625
907
  * Merge pull request #491 from brianknight10/clarify-no-config
626
908
 
627
- === 2.8.0 / 2014-02-28
909
+ ## 2.8.0 / 2014-02-28
628
910
 
629
911
  * 8 minor features:
630
912
  * Add ability to autoload a config file. Fixes #438
@@ -667,13 +949,13 @@ The "clearly I don't have enough tests for the config" release.
667
949
  * Merge pull request #482 from prathamesh-sonpatki/signals-doc-cleanup
668
950
  * Merge pull request #483 from YotpoLtd/master
669
951
 
670
- === 2.7.1 / 2013-12-05
952
+ ## 2.7.1 / 2013-12-05
671
953
 
672
954
  * 1 bug fix:
673
955
 
674
956
  * Keep STDOUT/STDERR the right mode. Fixes #422
675
957
 
676
- === 2.7.0 / 2013-12-03
958
+ ## 2.7.0 / 2013-12-03
677
959
 
678
960
  * 1 minor feature:
679
961
  * Adding TTIN and TTOU to increment/decrement workers
@@ -690,7 +972,7 @@ The "clearly I don't have enough tests for the config" release.
690
972
  * Increase the max URI path length to 2048 chars from 1024 chars
691
973
  * Upstart jungle use config/puma.rb instead
692
974
 
693
- === 2.6.0 / 2013-09-13
975
+ ## 2.6.0 / 2013-09-13
694
976
 
695
977
  * 2 minor features:
696
978
  * Add support for event hooks
@@ -703,14 +985,14 @@ The "clearly I don't have enough tests for the config" release.
703
985
  * Handle BrokenPipe, StandardError and IOError in fat_wrote and break out
704
986
  * Return success status to the invoking environment
705
987
 
706
- === 2.5.1 / 2013-08-13
988
+ ## 2.5.1 / 2013-08-13
707
989
 
708
990
  * 2 bug fixes:
709
991
 
710
992
  * Keep jruby daemon mode from retrying on a hot restart
711
993
  * Extract version from const.rb in gemspec
712
994
 
713
- === 2.5.0 / 2013-08-08
995
+ ## 2.5.0 / 2013-08-08
714
996
 
715
997
  * 2 minor features:
716
998
  * Allow configuring pumactl with config.rb
@@ -732,12 +1014,12 @@ The "clearly I don't have enough tests for the config" release.
732
1014
  * Remove obsolete pumactl instructions; refer to pumactl for details
733
1015
  * Make Bundler used puma.gemspec version agnostic
734
1016
 
735
- === 2.4.1 / 2013-08-07
1017
+ ## 2.4.1 / 2013-08-07
736
1018
 
737
1019
  * 1 experimental feature:
738
1020
  * Support raw tcp servers (aka Lopez Express mode)
739
1021
 
740
- === 2.4.0 / 2013-07-22
1022
+ ## 2.4.0 / 2013-07-22
741
1023
 
742
1024
  * 5 minor features:
743
1025
  * Add PUMA_JRUBY_DAEMON_OPTS to get around agent starting twice
@@ -760,13 +1042,13 @@ The "clearly I don't have enough tests for the config" release.
760
1042
  * Use 127.0.0.1 as REMOTE_ADDR of unix client. Fixes #309
761
1043
 
762
1044
 
763
- === 2.3.2 / 2013-07-08
1045
+ ## 2.3.2 / 2013-07-08
764
1046
 
765
1047
  * 1 bug fix:
766
1048
 
767
1049
  * Move starting control server to after daemonization.
768
1050
 
769
- === 2.3.1 / 2013-07-06
1051
+ ## 2.3.1 / 2013-07-06
770
1052
 
771
1053
  * 2 bug fixes:
772
1054
 
@@ -776,7 +1058,7 @@ The "clearly I don't have enough tests for the config" release.
776
1058
  * 1 doc change:
777
1059
  * Better document some platform constraints
778
1060
 
779
- === 2.3.0 / 2013-07-05
1061
+ ## 2.3.0 / 2013-07-05
780
1062
 
781
1063
  * 1 major bug fix:
782
1064
 
@@ -795,13 +1077,13 @@ The "clearly I don't have enough tests for the config" release.
795
1077
  * Refactored modes into seperate classes that CLI uses
796
1078
  * Changed CLI to take an Events object instead of stdout/stderr (API change)
797
1079
 
798
- === 2.2.2 / 2013-07-02
1080
+ ## 2.2.2 / 2013-07-02
799
1081
 
800
1082
  * 1 bug fix:
801
1083
 
802
1084
  * Fix restart_command in the config
803
1085
 
804
- === 2.2.1 / 2013-07-02
1086
+ ## 2.2.1 / 2013-07-02
805
1087
 
806
1088
  * 1 minor feature:
807
1089
 
@@ -811,7 +1093,7 @@ The "clearly I don't have enough tests for the config" release.
811
1093
 
812
1094
  * Pass custom restart command in JRuby
813
1095
 
814
- === 2.2.0 / 2013-07-01
1096
+ ## 2.2.0 / 2013-07-01
815
1097
 
816
1098
  * 1 major feature:
817
1099
 
@@ -822,14 +1104,14 @@ The "clearly I don't have enough tests for the config" release.
822
1104
  * Don't leak info when not in development. Fixes #256
823
1105
  * Load the app, then bind the ports
824
1106
 
825
- === 2.1.1 / 2013-06-20
1107
+ ## 2.1.1 / 2013-06-20
826
1108
 
827
1109
  * 2 minor bug fixes:
828
1110
 
829
1111
  * Fix daemonization on jruby
830
1112
  * Load the application before daemonizing. Fixes #285
831
1113
 
832
- === 2.1.0 / 2013-06-18
1114
+ ## 2.1.0 / 2013-06-18
833
1115
 
834
1116
  * 3 minor features:
835
1117
  * Allow listening socket to be configured via Capistrano variable
@@ -858,13 +1140,13 @@ The "clearly I don't have enough tests for the config" release.
858
1140
  * Add some documentation for Clustered mode
859
1141
  * Added quotes to /etc/puma.conf
860
1142
 
861
- === 2.0.1 / 2013-04-30
1143
+ ## 2.0.1 / 2013-04-30
862
1144
 
863
1145
  * 1 bug fix:
864
1146
 
865
1147
  * Fix not starting on JRuby properly
866
1148
 
867
- === 2.0.0 / 2013-04-29
1149
+ ## 2.0.0 / 2013-04-29
868
1150
 
869
1151
  RailsConf 2013 edition!
870
1152
 
@@ -881,7 +1163,7 @@ RailsConf 2013 edition!
881
1163
  * Fix stdout/stderr logs to sync outputs
882
1164
  * allow binding to IPv6 addresses
883
1165
 
884
- === 2.0.0.b7 / 2013-03-18
1166
+ ## 2.0.0.b7 / 2013-03-18
885
1167
 
886
1168
  * 5 minor enhancements:
887
1169
 
@@ -906,7 +1188,7 @@ RailsConf 2013 edition!
906
1188
  * Write out the state post-daemonize. Fixes #189
907
1189
  * Prevent crash when all workers are gone
908
1190
 
909
- === 2.0.0.b6 / 2013-02-06
1191
+ ## 2.0.0.b6 / 2013-02-06
910
1192
 
911
1193
  * 2 minor enhancements:
912
1194
 
@@ -917,7 +1199,7 @@ RailsConf 2013 edition!
917
1199
 
918
1200
  * Change directory in working during upgrade. Fixes #185
919
1201
 
920
- === 2.0.0.b5 / 2013-02-05
1202
+ ## 2.0.0.b5 / 2013-02-05
921
1203
 
922
1204
  * 2 major features:
923
1205
  * Add phased worker upgrade
@@ -934,7 +1216,7 @@ RailsConf 2013 edition!
934
1216
  * Move write_pid to after we daemonize. Fixes #180
935
1217
  * Redirect IO properly and emit message for checkpointing
936
1218
 
937
- === 2.0.0.b4 / 2012-12-12
1219
+ ## 2.0.0.b4 / 2012-12-12
938
1220
 
939
1221
  * 4 bug fixes:
940
1222
  * Properly check #syswrite's value for variable sized buffers. Fixes #170
@@ -942,12 +1224,12 @@ RailsConf 2013 edition!
942
1224
  * Handle char vs byte and mixing syswrite with write properly
943
1225
  * made MiniSSL validate key/cert file existence
944
1226
 
945
- === 2.0.0.b3 / 2012-11-22
1227
+ ## 2.0.0.b3 / 2012-11-22
946
1228
 
947
1229
  * 1 bug fix:
948
1230
  * Package right files in gem
949
1231
 
950
- === 2.0.0.b2 / 2012-11-18
1232
+ ## 2.0.0.b2 / 2012-11-18
951
1233
  * 5 minor feature:
952
1234
  * Now Puma is bundled with an capistrano recipe. Just require
953
1235
  'puma/capistrano' in you deploy.rb
@@ -965,7 +1247,7 @@ RailsConf 2013 edition!
965
1247
  * Be sure to empty the drain the todo before shutting down. Fixes #155
966
1248
  * allow for alternate locations for status app
967
1249
 
968
- === 2.0.0.b1 / 2012-09-11
1250
+ ## 2.0.0.b1 / 2012-09-11
969
1251
 
970
1252
  * 1 major feature:
971
1253
  * Optional worker process mode (-w) to allow for process scaling in
@@ -978,30 +1260,30 @@ RailsConf 2013 edition!
978
1260
  NOTE: SSL support in JRuby is not supported at present. Support will
979
1261
  be added back in a future date when a java Puma::MiniSSL is added.
980
1262
 
981
- === 1.6.3 / 2012-09-04
1263
+ ## 1.6.3 / 2012-09-04
982
1264
 
983
1265
  * 1 bug fix:
984
1266
  * Close sockets waiting in the reactor when a hot restart is performed
985
1267
  so that browsers reconnect on the next request
986
1268
 
987
- === 1.6.2 / 2012-08-27
1269
+ ## 1.6.2 / 2012-08-27
988
1270
 
989
1271
  * 1 bug fix:
990
1272
  * Rescue StandardError instead of IOError to handle SystemCallErrors
991
1273
  as well as other application exceptions inside the reactor.
992
1274
 
993
- === 1.6.1 / 2012-07-23
1275
+ ## 1.6.1 / 2012-07-23
994
1276
 
995
1277
  * 1 packaging bug fixed:
996
1278
  * Include missing files
997
1279
 
998
- === 1.6.0 / 2012-07-23
1280
+ ## 1.6.0 / 2012-07-23
999
1281
 
1000
1282
  * 1 major bug fix:
1001
1283
  * Prevent slow clients from starving the server by introducing a
1002
1284
  dedicated IO reactor thread. Credit for reporting goes to @meh.
1003
1285
 
1004
- === 1.5.0 / 2012-07-19
1286
+ ## 1.5.0 / 2012-07-19
1005
1287
 
1006
1288
  * 7 contributors to this release:
1007
1289
  * Christian Mayer
@@ -1025,7 +1307,7 @@ be added back in a future date when a java Puma::MiniSSL is added.
1025
1307
  * Allow Server#run to run sync. Fixes #111
1026
1308
  * Puma can now run on windows
1027
1309
 
1028
- === 1.4.0 / 2012-06-04
1310
+ ## 1.4.0 / 2012-06-04
1029
1311
 
1030
1312
  * 1 bug fix:
1031
1313
  * SCRIPT_NAME should be passed from env to allow mounting apps
@@ -1033,13 +1315,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
1033
1315
  * 1 experimental feature:
1034
1316
  * Add puma.socket key for direct socket access
1035
1317
 
1036
- === 1.3.1 / 2012-05-15
1318
+ ## 1.3.1 / 2012-05-15
1037
1319
 
1038
1320
  * 2 bug fixes:
1039
1321
  * use #bytesize instead of #length for Content-Length header
1040
1322
  * Use StringIO properly. Fixes #98
1041
1323
 
1042
- === 1.3.0 / 2012-05-08
1324
+ ## 1.3.0 / 2012-05-08
1043
1325
 
1044
1326
  * 2 minor features:
1045
1327
  * Return valid Rack responses (passes Lint) from status server
@@ -1054,7 +1336,7 @@ be added back in a future date when a java Puma::MiniSSL is added.
1054
1336
  * 1 new contributor:
1055
1337
  * Jesse Cooke
1056
1338
 
1057
- === 1.2.2 / 2012-04-28
1339
+ ## 1.2.2 / 2012-04-28
1058
1340
 
1059
1341
  * 4 bug fixes:
1060
1342
 
@@ -1063,13 +1345,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
1063
1345
  * Keep the encoding of the body correct. Fixes #79
1064
1346
  * show error.to_s along with backtrace for low-level error
1065
1347
 
1066
- === 1.2.1 / 2012-04-11
1348
+ ## 1.2.1 / 2012-04-11
1067
1349
 
1068
1350
  1 bug fix:
1069
1351
 
1070
1352
  * Fix rack.url_scheme for SSL servers. Fixes #65
1071
1353
 
1072
- === 1.2.0 / 2012-04-11
1354
+ ## 1.2.0 / 2012-04-11
1073
1355
 
1074
1356
  1 major feature:
1075
1357
 
@@ -1094,13 +1376,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
1094
1376
  * Seamus Abshere
1095
1377
  * Steve Richert
1096
1378
 
1097
- === 1.1.1 / 2012-03-30
1379
+ ## 1.1.1 / 2012-03-30
1098
1380
 
1099
1381
  1 bugfix:
1100
1382
 
1101
1383
  * Include puma/compat.rb in the gem (oops!)
1102
1384
 
1103
- === 1.1.0 / 2012-03-30
1385
+ ## 1.1.0 / 2012-03-30
1104
1386
 
1105
1387
  1 bugfix:
1106
1388
 
@@ -1110,6 +1392,6 @@ be added back in a future date when a java Puma::MiniSSL is added.
1110
1392
 
1111
1393
  * Add umask param to the unix:// bind to set the umask
1112
1394
 
1113
- === 1.0.0 / 2012-03-29
1395
+ ## 1.0.0 / 2012-03-29
1114
1396
 
1115
1397
  * Released!