puma 3.6.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 (66) hide show
  1. checksums.yaml +5 -5
  2. data/{History.txt → History.md} +293 -79
  3. data/README.md +143 -227
  4. data/docs/architecture.md +36 -0
  5. data/{DEPLOYMENT.md → docs/deployment.md} +0 -0
  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 +85 -84
  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/io_buffer.c +7 -7
  18. data/ext/puma_http11/mini_ssl.c +62 -6
  19. data/ext/puma_http11/org/jruby/puma/Http11Parser.java +13 -16
  20. data/ext/puma_http11/org/jruby/puma/MiniSSL.java +15 -2
  21. data/ext/puma_http11/puma_http11.c +1 -0
  22. data/lib/puma.rb +13 -5
  23. data/lib/puma/app/status.rb +8 -0
  24. data/lib/puma/binder.rb +21 -14
  25. data/lib/puma/cli.rb +49 -33
  26. data/lib/puma/client.rb +39 -4
  27. data/lib/puma/cluster.rb +51 -11
  28. data/lib/puma/commonlogger.rb +19 -20
  29. data/lib/puma/compat.rb +3 -7
  30. data/lib/puma/configuration.rb +133 -130
  31. data/lib/puma/const.rb +13 -37
  32. data/lib/puma/control_cli.rb +38 -35
  33. data/lib/puma/convenient.rb +3 -3
  34. data/lib/puma/detect.rb +3 -1
  35. data/lib/puma/dsl.rb +80 -58
  36. data/lib/puma/events.rb +6 -8
  37. data/lib/puma/io_buffer.rb +1 -1
  38. data/lib/puma/jruby_restart.rb +0 -1
  39. data/lib/puma/launcher.rb +52 -30
  40. data/lib/puma/minissl.rb +73 -4
  41. data/lib/puma/null_io.rb +6 -13
  42. data/lib/puma/plugin/tmp_restart.rb +1 -2
  43. data/lib/puma/rack/builder.rb +3 -0
  44. data/lib/puma/rack/urlmap.rb +9 -8
  45. data/lib/puma/reactor.rb +135 -0
  46. data/lib/puma/runner.rb +23 -1
  47. data/lib/puma/server.rb +117 -34
  48. data/lib/puma/single.rb +14 -3
  49. data/lib/puma/thread_pool.rb +67 -20
  50. data/lib/puma/util.rb +1 -5
  51. data/lib/rack/handler/puma.rb +58 -17
  52. data/tools/jungle/README.md +12 -2
  53. data/tools/jungle/init.d/README.md +9 -2
  54. data/tools/jungle/init.d/puma +32 -62
  55. data/tools/jungle/init.d/run-puma +5 -1
  56. data/tools/jungle/rc.d/README.md +74 -0
  57. data/tools/jungle/rc.d/puma +61 -0
  58. data/tools/jungle/rc.d/puma.conf +10 -0
  59. data/tools/trickletest.rb +1 -1
  60. metadata +22 -92
  61. data/Gemfile +0 -13
  62. data/Manifest.txt +0 -77
  63. data/Rakefile +0 -158
  64. data/lib/puma/rack/backports/uri/common_18.rb +0 -59
  65. data/lib/puma/rack/backports/uri/common_192.rb +0 -55
  66. data/puma.gemspec +0 -52
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 59a23e7e6ba37bf306a2ae94c314daa0abf2f592
4
- data.tar.gz: c9228af1cebabc34902fd222965a4c851efd84e0
2
+ SHA256:
3
+ metadata.gz: bff4687b24c136075e00b45d5314fd6326b6240733fff22c706096d10d8ec965
4
+ data.tar.gz: db2020f983ba02f7403e50f9f9391bd2f20e811fa42121147d4cbaf619e1d8d3
5
5
  SHA512:
6
- metadata.gz: 91433445f3ec432dfe5dd29361c06d8726e6c253351d2a66906442329edc6fe7e6b4dc47f120786a7a1adc11aae6b650ce7f0f6e829f63979ee8aa738d33e0ca
7
- data.tar.gz: 2aea9f4334fdf09dd1ff5ff8b6a71a61ad0ef5527f3e08d98a73b17cf940d85c56e5bae6221ea4ddc09d8b12cc368359227462b3fc93a372da0327041300c397
6
+ metadata.gz: d6d7efcb9aeb437c07f49cb5a589ed016d888acab08f130bb382f2d470b301ec40ce3df90fbe4cf989bc84468633b180894c60daca377346d283210e6fedba98
7
+ data.tar.gz: 2d45380434e8d88d534a27db1a1f843d70b925a64065d55ee637153669b3c78f1539bf4c84ee166ec90636ba3ee948a97540c0bdbac5cc3d68809c86874038f8
@@ -1,10 +1,224 @@
1
- === 3.6.0 / 2016-07-24
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
2
216
 
3
217
  * 12 bug fixes:
4
218
  * Add ability to detect a shutting down server. Fixes #932
5
219
  * Add support for Expect: 100-continue. Fixes #519
6
220
  * Check SSLContext better. Fixes #828
7
- * Clarify behavior of '-t <num>'. Fixes #984
221
+ * Clarify behavior of '-t num'. Fixes #984
8
222
  * Don't default to VERIFY_PEER. Fixes #1028
9
223
  * Don't use ENV['PWD'] on windows. Fixes #1023
10
224
  * Enlarge the scope of catching app exceptions. Fixes #1027
@@ -14,7 +228,7 @@
14
228
  * Just rescue exception to return a 500. Fixes #1027
15
229
  * Redirect IO in the jruby daemon mode. Fixes #778
16
230
 
17
- === 3.5.2 / 2016-07-20
231
+ ## 3.5.2 / 2016-07-20
18
232
 
19
233
  * 1 bug fix:
20
234
  * Don't let persistent_timeout be nil
@@ -22,12 +236,12 @@
22
236
  * 1 PR merged:
23
237
  * Merge pull request #1021 from benzrf/patch-1
24
238
 
25
- === 3.5.1 / 2016-07-20
239
+ ## 3.5.1 / 2016-07-20
26
240
 
27
241
  * 1 bug fix:
28
242
  * Be sure to only listen on host:port combos once. Fixes #1022
29
243
 
30
- === 3.5.0 / 2016-07-18
244
+ ## 3.5.0 / 2016-07-18
31
245
 
32
246
  * 1 minor features:
33
247
  * Allow persistent_timeout to be configured via the dsl.
@@ -66,7 +280,7 @@
66
280
  * Merge pull request #981 from zach-chai/patch-1
67
281
  * Merge pull request #993 from scorix/master
68
282
 
69
- === 3.4.0 / 2016-04-07
283
+ ## 3.4.0 / 2016-04-07
70
284
 
71
285
  * 2 minor features:
72
286
  * Add ability to force threads to stop on shutdown. Fixes #938
@@ -89,7 +303,7 @@
89
303
  * Merge pull request #946 from vipulnsward/rm-pid
90
304
  * Merge pull request #947 from vipulnsward/housekeeping-typos
91
305
 
92
- === 3.3.0 / 2016-04-05
306
+ ## 3.3.0 / 2016-04-05
93
307
 
94
308
  * 2 minor features:
95
309
  * Allow overriding options of Configuration object
@@ -104,7 +318,7 @@
104
318
  * Merge pull request #940 from kyledrake/signalsdoc
105
319
  * Merge pull request #942 from dekellum/socket-activate-improve
106
320
 
107
- === 3.2.0 / 2016-03-20
321
+ ## 3.2.0 / 2016-03-20
108
322
 
109
323
  * 1 deprecation removal:
110
324
  * Delete capistrano.rb
@@ -118,7 +332,7 @@
118
332
  * Merge pull request #927 from jlecour/gemfile_variants
119
333
  * Merge pull request #931 from joneslee85/patch-10
120
334
 
121
- === 3.1.1 / 2016-03-17
335
+ ## 3.1.1 / 2016-03-17
122
336
 
123
337
  * 4 bug fixes:
124
338
  * Disable USR1 usage on JRuby
@@ -131,7 +345,7 @@
131
345
  * Merge pull request #921 from swrobel/patch-1
132
346
  * Merge pull request #924 from tbrisker/patch-1
133
347
 
134
- === 3.1.0 / 2016-03-05
348
+ ## 3.1.0 / 2016-03-05
135
349
 
136
350
  * 1 minor feature:
137
351
  * Add 'import' directive to config file. Fixes #916
@@ -142,7 +356,7 @@
142
356
  * Recreate the proper args manually. Fixes #910
143
357
  * Require 'time' to get iso8601. Fixes #914
144
358
 
145
- === 3.0.2 / 2016-02-26
359
+ ## 3.0.2 / 2016-02-26
146
360
 
147
361
  * 5 bug fixes:
148
362
 
@@ -158,7 +372,7 @@
158
372
  * Merge pull request #902 from corrupt952/fix_undefined_method_and_variable_when_execute_pumactl
159
373
  * Merge pull request #905 from Eric-Guo/master
160
374
 
161
- === 3.0.1 / 2016-02-25
375
+ ## 3.0.1 / 2016-02-25
162
376
 
163
377
  * 1 bug fix:
164
378
 
@@ -166,7 +380,7 @@
166
380
  websockets entirely. Seems no server has both hijack and async.callback
167
381
  and thus faye is totally confused what to do and doesn't work.
168
382
 
169
- === 3.0.0 / 2016-02-25
383
+ ## 3.0.0 / 2016-02-25
170
384
 
171
385
  * 2 major changes:
172
386
 
@@ -216,7 +430,7 @@
216
430
  * Merge pull request #897 from zendesk/master
217
431
  * Merge pull request #899 from kch/kch-readme-fixes
218
432
 
219
- === 2.16.0 / 2016-01-27
433
+ ## 2.16.0 / 2016-01-27
220
434
 
221
435
  * 7 minor features:
222
436
 
@@ -256,13 +470,13 @@
256
470
  * Merge pull request #860 from zendesk/expose_old_worker_count
257
471
  * Merge pull request #861 from zendesk/allow_control_url_umask
258
472
 
259
- === 2.15.3 / 2015-11-07
473
+ ## 2.15.3 / 2015-11-07
260
474
 
261
475
  * 1 bug fix:
262
476
 
263
477
  * Fix JRuby parser
264
478
 
265
- === 2.15.2 / 2015-11-06
479
+ ## 2.15.2 / 2015-11-06
266
480
 
267
481
  * 2 bug fixes:
268
482
  * ext/puma_http11: handle duplicate headers as per RFC
@@ -272,13 +486,13 @@
272
486
  * Merge pull request #818 from unleashed/support-duplicate-headers
273
487
  * Merge pull request #819 from VictorLowther/fix-ca-and-verify_null-exception
274
488
 
275
- === 2.15.1 / 2015-11-06
489
+ ## 2.15.1 / 2015-11-06
276
490
 
277
491
  * 1 bug fix:
278
492
 
279
493
  * Allow older openssl versions
280
494
 
281
- === 2.15.0 / 2015-11-06
495
+ ## 2.15.0 / 2015-11-06
282
496
 
283
497
  * 6 minor features:
284
498
  * Allow setting ca without setting a verify mode
@@ -327,7 +541,7 @@
327
541
  * Merge pull request #814 from schneems/schneems/worker_timeout-docs
328
542
  * Merge pull request #817 from unleashed/worker-boot-timeout
329
543
 
330
- === 2.14.0 / 2015-09-18
544
+ ## 2.14.0 / 2015-09-18
331
545
 
332
546
  * 1 minor feature:
333
547
  * Make building with SSL support optional
@@ -335,33 +549,33 @@
335
549
  * 1 bug fix:
336
550
  * Use Rack::Builder if available. Fixes #735
337
551
 
338
- === 2.13.4 / 2015-08-16
552
+ ## 2.13.4 / 2015-08-16
339
553
 
340
554
  * 1 bug fix:
341
555
  * Use the environment possible set by the config early and from
342
556
  the config file later (if set).
343
557
 
344
- === 2.13.3 / 2015-08-15
558
+ ## 2.13.3 / 2015-08-15
345
559
 
346
560
  Seriously, I need to revamp config with tests.
347
561
 
348
562
  * 1 bug fix:
349
563
  * Fix preserving options before cleaning for state. Fixes #769
350
564
 
351
- === 2.13.2 / 2015-08-15
565
+ ## 2.13.2 / 2015-08-15
352
566
 
353
567
  The "clearly I don't have enough tests for the config" release.
354
568
 
355
569
  * 1 bug fix:
356
570
  * Fix another place binds wasn't initialized. Fixes #767
357
571
 
358
- === 2.13.1 / 2015-08-15
572
+ ## 2.13.1 / 2015-08-15
359
573
 
360
574
  * 2 bug fixes:
361
575
  * Fix binds being masked in config files. Fixes #765
362
576
  * Use options from the config file properly in pumactl. Fixes #764
363
577
 
364
- === 2.13.0 / 2015-08-14
578
+ ## 2.13.0 / 2015-08-14
365
579
 
366
580
  * 1 minor feature:
367
581
  * Add before_fork hooks option.
@@ -380,7 +594,7 @@ The "clearly I don't have enough tests for the config" release.
380
594
  * Merge pull request #759 from BenV/fix-centos6-build
381
595
  * Merge pull request #761 from looker/no-log
382
596
 
383
- === 2.12.3 / 2015-08-03
597
+ ## 2.12.3 / 2015-08-03
384
598
 
385
599
  * 8 minor bugs fixed:
386
600
  * Fix Capistrano 'uninitialized constant Puma' error.
@@ -401,13 +615,13 @@ The "clearly I don't have enough tests for the config" release.
401
615
  * 1 test fix:
402
616
  * Add 1.8.7, rbx-1 (allow failures) to Travis.
403
617
 
404
- === 2.12.2 / 2015-07-17
618
+ ## 2.12.2 / 2015-07-17
405
619
 
406
620
  * 2 bug fix:
407
621
  * Pull over and use Rack::URLMap. Fixes #741
408
622
  * Stub out peercert on JRuby for now. Fixes #739
409
623
 
410
- === 2.12.1 / 2015-07-16
624
+ ## 2.12.1 / 2015-07-16
411
625
 
412
626
  * 2 bug fixes:
413
627
  * Use a constant format. Fixes #737
@@ -419,7 +633,7 @@ The "clearly I don't have enough tests for the config" release.
419
633
  * 1 PR merged:
420
634
  * Merge pull request #736 from paulanunda/paulanunda/typo-fix
421
635
 
422
- === 2.12.0 / 2015-07-14
636
+ ## 2.12.0 / 2015-07-14
423
637
 
424
638
  * 13 bug fixes:
425
639
  * Add thread reaping to thread pool
@@ -468,7 +682,7 @@ The "clearly I don't have enough tests for the config" release.
468
682
  * Merge pull request #729 from allaire/patch-1
469
683
  * Merge pull request #730 from iamjarvo/container-infrastructure
470
684
 
471
- === 2.11.3 / 2015-05-18
685
+ ## 2.11.3 / 2015-05-18
472
686
 
473
687
  * 5 bug fixes:
474
688
  * Be sure to unlink tempfiles after a request. Fixes #690
@@ -479,7 +693,7 @@ The "clearly I don't have enough tests for the config" release.
479
693
  * 1 PR merged:
480
694
  * Merge pull request #698 from looker/hang-handshake
481
695
 
482
- === 2.11.2 / 2015-04-11
696
+ ## 2.11.2 / 2015-04-11
483
697
 
484
698
  * 2 minor features:
485
699
  * Add `on_worker_fork` hook, which allows to mimic Unicorn's behavior
@@ -502,7 +716,7 @@ The "clearly I don't have enough tests for the config" release.
502
716
  * Merge pull request #667 from JuanitoFatas/doc/gemspec
503
717
  * Merge pull request #672 from chulkilee/refactor
504
718
 
505
- === 2.11.1 / 2015-02-11
719
+ ## 2.11.1 / 2015-02-11
506
720
 
507
721
  * 2 bug fixes:
508
722
  * Avoid crash in strange restart conditions
@@ -512,7 +726,7 @@ The "clearly I don't have enough tests for the config" release.
512
726
  * Merge pull request #644 from bpaquet/master
513
727
  * Merge pull request #646 from mkonecny/master
514
728
 
515
- === 2.11.0 / 2015-01-20
729
+ ## 2.11.0 / 2015-01-20
516
730
 
517
731
  * 9 bug fixes:
518
732
  * Add mode as an additional bind option to unix sockets. Fixes #630
@@ -545,7 +759,7 @@ The "clearly I don't have enough tests for the config" release.
545
759
  * Merge pull request #639 from ebeigarts/fix-phased-restarts
546
760
  * Merge pull request #640 from codehotter/issue-612-dependent-requests-deadlock
547
761
 
548
- === 2.10.2 / 2014-11-26
762
+ ## 2.10.2 / 2014-11-26
549
763
 
550
764
  * 1 bug fix:
551
765
  * Conditionalize thread local cleaning, fixes perf degradation fix
@@ -553,7 +767,7 @@ The "clearly I don't have enough tests for the config" release.
553
767
  overhead to a each request, so it has to be turned on explicitly
554
768
  if a user needs it.
555
769
 
556
- === 2.10.1 / 2014-11-24
770
+ ## 2.10.1 / 2014-11-24
557
771
 
558
772
  * 1 bug fix:
559
773
  * Load the app after daemonizing because the app might start threads.
@@ -564,7 +778,7 @@ The "clearly I don't have enough tests for the config" release.
564
778
  If you're app has problems starting up, start it without daemon mode initially
565
779
  to test.
566
780
 
567
- === 2.10.0 / 2014-11-23
781
+ ## 2.10.0 / 2014-11-23
568
782
 
569
783
  * 3 minor features:
570
784
  * Added on_worker_shutdown hook mechanism
@@ -593,7 +807,7 @@ The "clearly I don't have enough tests for the config" release.
593
807
  * Merge pull request #608 from Gu1/master
594
808
  * Merge remote-tracking branch 'origin/pr/538'
595
809
 
596
- === 2.9.2 / 2014-10-25
810
+ ## 2.9.2 / 2014-10-25
597
811
 
598
812
  * 8 bug fixes:
599
813
  * Fix puma-wild handling a restart properly. Fixes #550
@@ -613,7 +827,7 @@ The "clearly I don't have enough tests for the config" release.
613
827
  * Merge pull request #581 from alexch/slightly-better-logging
614
828
  * Merge pull request #590 from looker/jruby_disable_sslv3
615
829
 
616
- === 2.9.1 / 2014-09-05
830
+ ## 2.9.1 / 2014-09-05
617
831
 
618
832
  * 4 bug fixes:
619
833
  * Cleanup the SSL related structures properly, fixes memory leak
@@ -625,7 +839,7 @@ The "clearly I don't have enough tests for the config" release.
625
839
  * Merge pull request #561 from theoldreader/sighup
626
840
  * Merge pull request #570 from havenwood/spawn-thread-edge-case
627
841
 
628
- === 2.9.0 / 2014-07-12
842
+ ## 2.9.0 / 2014-07-12
629
843
 
630
844
  * 1 minor feature:
631
845
  * Add SSL support for JRuby
@@ -649,7 +863,7 @@ The "clearly I don't have enough tests for the config" release.
649
863
  * Merge pull request #544 from chulkilee/bsd-3-clause
650
864
  * Merge pull request #551 from jcxplorer/patch-1
651
865
 
652
- === 2.8.2 / 2014-04-12
866
+ ## 2.8.2 / 2014-04-12
653
867
 
654
868
  * 4 bug fixes:
655
869
  * During upgrade, change directory in main process instead of workers.
@@ -676,7 +890,7 @@ The "clearly I don't have enough tests for the config" release.
676
890
  * Merge pull request #517 from misfo/patch-1
677
891
  * Merge pull request #518 from LongMan/master
678
892
 
679
- === 2.8.1 / 2014-03-06
893
+ ## 2.8.1 / 2014-03-06
680
894
 
681
895
  * 1 bug fixes:
682
896
  * Run puma-wild with proper deps for prune_bundler
@@ -692,7 +906,7 @@ The "clearly I don't have enough tests for the config" release.
692
906
  * Merge pull request #490 from tobinibot/patch-1
693
907
  * Merge pull request #491 from brianknight10/clarify-no-config
694
908
 
695
- === 2.8.0 / 2014-02-28
909
+ ## 2.8.0 / 2014-02-28
696
910
 
697
911
  * 8 minor features:
698
912
  * Add ability to autoload a config file. Fixes #438
@@ -735,13 +949,13 @@ The "clearly I don't have enough tests for the config" release.
735
949
  * Merge pull request #482 from prathamesh-sonpatki/signals-doc-cleanup
736
950
  * Merge pull request #483 from YotpoLtd/master
737
951
 
738
- === 2.7.1 / 2013-12-05
952
+ ## 2.7.1 / 2013-12-05
739
953
 
740
954
  * 1 bug fix:
741
955
 
742
956
  * Keep STDOUT/STDERR the right mode. Fixes #422
743
957
 
744
- === 2.7.0 / 2013-12-03
958
+ ## 2.7.0 / 2013-12-03
745
959
 
746
960
  * 1 minor feature:
747
961
  * Adding TTIN and TTOU to increment/decrement workers
@@ -758,7 +972,7 @@ The "clearly I don't have enough tests for the config" release.
758
972
  * Increase the max URI path length to 2048 chars from 1024 chars
759
973
  * Upstart jungle use config/puma.rb instead
760
974
 
761
- === 2.6.0 / 2013-09-13
975
+ ## 2.6.0 / 2013-09-13
762
976
 
763
977
  * 2 minor features:
764
978
  * Add support for event hooks
@@ -771,14 +985,14 @@ The "clearly I don't have enough tests for the config" release.
771
985
  * Handle BrokenPipe, StandardError and IOError in fat_wrote and break out
772
986
  * Return success status to the invoking environment
773
987
 
774
- === 2.5.1 / 2013-08-13
988
+ ## 2.5.1 / 2013-08-13
775
989
 
776
990
  * 2 bug fixes:
777
991
 
778
992
  * Keep jruby daemon mode from retrying on a hot restart
779
993
  * Extract version from const.rb in gemspec
780
994
 
781
- === 2.5.0 / 2013-08-08
995
+ ## 2.5.0 / 2013-08-08
782
996
 
783
997
  * 2 minor features:
784
998
  * Allow configuring pumactl with config.rb
@@ -800,12 +1014,12 @@ The "clearly I don't have enough tests for the config" release.
800
1014
  * Remove obsolete pumactl instructions; refer to pumactl for details
801
1015
  * Make Bundler used puma.gemspec version agnostic
802
1016
 
803
- === 2.4.1 / 2013-08-07
1017
+ ## 2.4.1 / 2013-08-07
804
1018
 
805
1019
  * 1 experimental feature:
806
1020
  * Support raw tcp servers (aka Lopez Express mode)
807
1021
 
808
- === 2.4.0 / 2013-07-22
1022
+ ## 2.4.0 / 2013-07-22
809
1023
 
810
1024
  * 5 minor features:
811
1025
  * Add PUMA_JRUBY_DAEMON_OPTS to get around agent starting twice
@@ -828,13 +1042,13 @@ The "clearly I don't have enough tests for the config" release.
828
1042
  * Use 127.0.0.1 as REMOTE_ADDR of unix client. Fixes #309
829
1043
 
830
1044
 
831
- === 2.3.2 / 2013-07-08
1045
+ ## 2.3.2 / 2013-07-08
832
1046
 
833
1047
  * 1 bug fix:
834
1048
 
835
1049
  * Move starting control server to after daemonization.
836
1050
 
837
- === 2.3.1 / 2013-07-06
1051
+ ## 2.3.1 / 2013-07-06
838
1052
 
839
1053
  * 2 bug fixes:
840
1054
 
@@ -844,7 +1058,7 @@ The "clearly I don't have enough tests for the config" release.
844
1058
  * 1 doc change:
845
1059
  * Better document some platform constraints
846
1060
 
847
- === 2.3.0 / 2013-07-05
1061
+ ## 2.3.0 / 2013-07-05
848
1062
 
849
1063
  * 1 major bug fix:
850
1064
 
@@ -863,13 +1077,13 @@ The "clearly I don't have enough tests for the config" release.
863
1077
  * Refactored modes into seperate classes that CLI uses
864
1078
  * Changed CLI to take an Events object instead of stdout/stderr (API change)
865
1079
 
866
- === 2.2.2 / 2013-07-02
1080
+ ## 2.2.2 / 2013-07-02
867
1081
 
868
1082
  * 1 bug fix:
869
1083
 
870
1084
  * Fix restart_command in the config
871
1085
 
872
- === 2.2.1 / 2013-07-02
1086
+ ## 2.2.1 / 2013-07-02
873
1087
 
874
1088
  * 1 minor feature:
875
1089
 
@@ -879,7 +1093,7 @@ The "clearly I don't have enough tests for the config" release.
879
1093
 
880
1094
  * Pass custom restart command in JRuby
881
1095
 
882
- === 2.2.0 / 2013-07-01
1096
+ ## 2.2.0 / 2013-07-01
883
1097
 
884
1098
  * 1 major feature:
885
1099
 
@@ -890,14 +1104,14 @@ The "clearly I don't have enough tests for the config" release.
890
1104
  * Don't leak info when not in development. Fixes #256
891
1105
  * Load the app, then bind the ports
892
1106
 
893
- === 2.1.1 / 2013-06-20
1107
+ ## 2.1.1 / 2013-06-20
894
1108
 
895
1109
  * 2 minor bug fixes:
896
1110
 
897
1111
  * Fix daemonization on jruby
898
1112
  * Load the application before daemonizing. Fixes #285
899
1113
 
900
- === 2.1.0 / 2013-06-18
1114
+ ## 2.1.0 / 2013-06-18
901
1115
 
902
1116
  * 3 minor features:
903
1117
  * Allow listening socket to be configured via Capistrano variable
@@ -926,13 +1140,13 @@ The "clearly I don't have enough tests for the config" release.
926
1140
  * Add some documentation for Clustered mode
927
1141
  * Added quotes to /etc/puma.conf
928
1142
 
929
- === 2.0.1 / 2013-04-30
1143
+ ## 2.0.1 / 2013-04-30
930
1144
 
931
1145
  * 1 bug fix:
932
1146
 
933
1147
  * Fix not starting on JRuby properly
934
1148
 
935
- === 2.0.0 / 2013-04-29
1149
+ ## 2.0.0 / 2013-04-29
936
1150
 
937
1151
  RailsConf 2013 edition!
938
1152
 
@@ -949,7 +1163,7 @@ RailsConf 2013 edition!
949
1163
  * Fix stdout/stderr logs to sync outputs
950
1164
  * allow binding to IPv6 addresses
951
1165
 
952
- === 2.0.0.b7 / 2013-03-18
1166
+ ## 2.0.0.b7 / 2013-03-18
953
1167
 
954
1168
  * 5 minor enhancements:
955
1169
 
@@ -974,7 +1188,7 @@ RailsConf 2013 edition!
974
1188
  * Write out the state post-daemonize. Fixes #189
975
1189
  * Prevent crash when all workers are gone
976
1190
 
977
- === 2.0.0.b6 / 2013-02-06
1191
+ ## 2.0.0.b6 / 2013-02-06
978
1192
 
979
1193
  * 2 minor enhancements:
980
1194
 
@@ -985,7 +1199,7 @@ RailsConf 2013 edition!
985
1199
 
986
1200
  * Change directory in working during upgrade. Fixes #185
987
1201
 
988
- === 2.0.0.b5 / 2013-02-05
1202
+ ## 2.0.0.b5 / 2013-02-05
989
1203
 
990
1204
  * 2 major features:
991
1205
  * Add phased worker upgrade
@@ -1002,7 +1216,7 @@ RailsConf 2013 edition!
1002
1216
  * Move write_pid to after we daemonize. Fixes #180
1003
1217
  * Redirect IO properly and emit message for checkpointing
1004
1218
 
1005
- === 2.0.0.b4 / 2012-12-12
1219
+ ## 2.0.0.b4 / 2012-12-12
1006
1220
 
1007
1221
  * 4 bug fixes:
1008
1222
  * Properly check #syswrite's value for variable sized buffers. Fixes #170
@@ -1010,12 +1224,12 @@ RailsConf 2013 edition!
1010
1224
  * Handle char vs byte and mixing syswrite with write properly
1011
1225
  * made MiniSSL validate key/cert file existence
1012
1226
 
1013
- === 2.0.0.b3 / 2012-11-22
1227
+ ## 2.0.0.b3 / 2012-11-22
1014
1228
 
1015
1229
  * 1 bug fix:
1016
1230
  * Package right files in gem
1017
1231
 
1018
- === 2.0.0.b2 / 2012-11-18
1232
+ ## 2.0.0.b2 / 2012-11-18
1019
1233
  * 5 minor feature:
1020
1234
  * Now Puma is bundled with an capistrano recipe. Just require
1021
1235
  'puma/capistrano' in you deploy.rb
@@ -1033,7 +1247,7 @@ RailsConf 2013 edition!
1033
1247
  * Be sure to empty the drain the todo before shutting down. Fixes #155
1034
1248
  * allow for alternate locations for status app
1035
1249
 
1036
- === 2.0.0.b1 / 2012-09-11
1250
+ ## 2.0.0.b1 / 2012-09-11
1037
1251
 
1038
1252
  * 1 major feature:
1039
1253
  * Optional worker process mode (-w) to allow for process scaling in
@@ -1046,30 +1260,30 @@ RailsConf 2013 edition!
1046
1260
  NOTE: SSL support in JRuby is not supported at present. Support will
1047
1261
  be added back in a future date when a java Puma::MiniSSL is added.
1048
1262
 
1049
- === 1.6.3 / 2012-09-04
1263
+ ## 1.6.3 / 2012-09-04
1050
1264
 
1051
1265
  * 1 bug fix:
1052
1266
  * Close sockets waiting in the reactor when a hot restart is performed
1053
1267
  so that browsers reconnect on the next request
1054
1268
 
1055
- === 1.6.2 / 2012-08-27
1269
+ ## 1.6.2 / 2012-08-27
1056
1270
 
1057
1271
  * 1 bug fix:
1058
1272
  * Rescue StandardError instead of IOError to handle SystemCallErrors
1059
1273
  as well as other application exceptions inside the reactor.
1060
1274
 
1061
- === 1.6.1 / 2012-07-23
1275
+ ## 1.6.1 / 2012-07-23
1062
1276
 
1063
1277
  * 1 packaging bug fixed:
1064
1278
  * Include missing files
1065
1279
 
1066
- === 1.6.0 / 2012-07-23
1280
+ ## 1.6.0 / 2012-07-23
1067
1281
 
1068
1282
  * 1 major bug fix:
1069
1283
  * Prevent slow clients from starving the server by introducing a
1070
1284
  dedicated IO reactor thread. Credit for reporting goes to @meh.
1071
1285
 
1072
- === 1.5.0 / 2012-07-19
1286
+ ## 1.5.0 / 2012-07-19
1073
1287
 
1074
1288
  * 7 contributors to this release:
1075
1289
  * Christian Mayer
@@ -1093,7 +1307,7 @@ be added back in a future date when a java Puma::MiniSSL is added.
1093
1307
  * Allow Server#run to run sync. Fixes #111
1094
1308
  * Puma can now run on windows
1095
1309
 
1096
- === 1.4.0 / 2012-06-04
1310
+ ## 1.4.0 / 2012-06-04
1097
1311
 
1098
1312
  * 1 bug fix:
1099
1313
  * SCRIPT_NAME should be passed from env to allow mounting apps
@@ -1101,13 +1315,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
1101
1315
  * 1 experimental feature:
1102
1316
  * Add puma.socket key for direct socket access
1103
1317
 
1104
- === 1.3.1 / 2012-05-15
1318
+ ## 1.3.1 / 2012-05-15
1105
1319
 
1106
1320
  * 2 bug fixes:
1107
1321
  * use #bytesize instead of #length for Content-Length header
1108
1322
  * Use StringIO properly. Fixes #98
1109
1323
 
1110
- === 1.3.0 / 2012-05-08
1324
+ ## 1.3.0 / 2012-05-08
1111
1325
 
1112
1326
  * 2 minor features:
1113
1327
  * Return valid Rack responses (passes Lint) from status server
@@ -1122,7 +1336,7 @@ be added back in a future date when a java Puma::MiniSSL is added.
1122
1336
  * 1 new contributor:
1123
1337
  * Jesse Cooke
1124
1338
 
1125
- === 1.2.2 / 2012-04-28
1339
+ ## 1.2.2 / 2012-04-28
1126
1340
 
1127
1341
  * 4 bug fixes:
1128
1342
 
@@ -1131,13 +1345,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
1131
1345
  * Keep the encoding of the body correct. Fixes #79
1132
1346
  * show error.to_s along with backtrace for low-level error
1133
1347
 
1134
- === 1.2.1 / 2012-04-11
1348
+ ## 1.2.1 / 2012-04-11
1135
1349
 
1136
1350
  1 bug fix:
1137
1351
 
1138
1352
  * Fix rack.url_scheme for SSL servers. Fixes #65
1139
1353
 
1140
- === 1.2.0 / 2012-04-11
1354
+ ## 1.2.0 / 2012-04-11
1141
1355
 
1142
1356
  1 major feature:
1143
1357
 
@@ -1162,13 +1376,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
1162
1376
  * Seamus Abshere
1163
1377
  * Steve Richert
1164
1378
 
1165
- === 1.1.1 / 2012-03-30
1379
+ ## 1.1.1 / 2012-03-30
1166
1380
 
1167
1381
  1 bugfix:
1168
1382
 
1169
1383
  * Include puma/compat.rb in the gem (oops!)
1170
1384
 
1171
- === 1.1.0 / 2012-03-30
1385
+ ## 1.1.0 / 2012-03-30
1172
1386
 
1173
1387
  1 bugfix:
1174
1388
 
@@ -1178,6 +1392,6 @@ be added back in a future date when a java Puma::MiniSSL is added.
1178
1392
 
1179
1393
  * Add umask param to the unix:// bind to set the umask
1180
1394
 
1181
- === 1.0.0 / 2012-03-29
1395
+ ## 1.0.0 / 2012-03-29
1182
1396
 
1183
1397
  * Released!