puma 3.5.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.
- checksums.yaml +5 -5
- data/{History.txt → History.md} +318 -75
- data/README.md +143 -227
- data/docs/architecture.md +36 -0
- data/{DEPLOYMENT.md → docs/deployment.md} +0 -0
- data/docs/images/puma-connection-flow-no-reactor.png +0 -0
- data/docs/images/puma-connection-flow.png +0 -0
- data/docs/images/puma-general-arch.png +0 -0
- data/docs/plugins.md +28 -0
- data/docs/restart.md +39 -0
- data/docs/signals.md +56 -3
- data/docs/systemd.md +124 -22
- data/ext/puma_http11/extconf.rb +2 -0
- data/ext/puma_http11/http11_parser.c +85 -84
- data/ext/puma_http11/http11_parser.h +1 -0
- data/ext/puma_http11/http11_parser.rl +10 -9
- data/ext/puma_http11/io_buffer.c +7 -7
- data/ext/puma_http11/mini_ssl.c +67 -6
- data/ext/puma_http11/org/jruby/puma/Http11Parser.java +13 -16
- data/ext/puma_http11/org/jruby/puma/MiniSSL.java +15 -2
- data/ext/puma_http11/puma_http11.c +1 -0
- data/lib/puma.rb +13 -5
- data/lib/puma/app/status.rb +8 -0
- data/lib/puma/binder.rb +22 -17
- data/lib/puma/cli.rb +49 -33
- data/lib/puma/client.rb +149 -4
- data/lib/puma/cluster.rb +54 -12
- data/lib/puma/commonlogger.rb +19 -20
- data/lib/puma/compat.rb +3 -7
- data/lib/puma/configuration.rb +133 -130
- data/lib/puma/const.rb +19 -37
- data/lib/puma/control_cli.rb +38 -35
- data/lib/puma/convenient.rb +3 -3
- data/lib/puma/detect.rb +3 -1
- data/lib/puma/dsl.rb +80 -58
- data/lib/puma/events.rb +6 -8
- data/lib/puma/io_buffer.rb +1 -1
- data/lib/puma/jruby_restart.rb +0 -1
- data/lib/puma/launcher.rb +61 -30
- data/lib/puma/minissl.rb +85 -4
- data/lib/puma/null_io.rb +6 -13
- data/lib/puma/plugin.rb +12 -1
- data/lib/puma/plugin/tmp_restart.rb +1 -2
- data/lib/puma/rack/builder.rb +3 -0
- data/lib/puma/rack/urlmap.rb +9 -8
- data/lib/puma/reactor.rb +135 -0
- data/lib/puma/runner.rb +27 -1
- data/lib/puma/server.rb +134 -32
- data/lib/puma/single.rb +17 -3
- data/lib/puma/thread_pool.rb +67 -20
- data/lib/puma/util.rb +1 -5
- data/lib/rack/handler/puma.rb +58 -17
- data/tools/jungle/README.md +12 -2
- data/tools/jungle/init.d/README.md +9 -2
- data/tools/jungle/init.d/puma +32 -62
- data/tools/jungle/init.d/run-puma +5 -1
- data/tools/jungle/rc.d/README.md +74 -0
- data/tools/jungle/rc.d/puma +61 -0
- data/tools/jungle/rc.d/puma.conf +10 -0
- data/tools/trickletest.rb +1 -1
- metadata +22 -92
- data/Gemfile +0 -13
- data/Manifest.txt +0 -77
- data/Rakefile +0 -158
- data/lib/puma/rack/backports/uri/common_18.rb +0 -59
- data/lib/puma/rack/backports/uri/common_192.rb +0 -55
- data/puma.gemspec +0 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bff4687b24c136075e00b45d5314fd6326b6240733fff22c706096d10d8ec965
|
4
|
+
data.tar.gz: db2020f983ba02f7403e50f9f9391bd2f20e811fa42121147d4cbaf619e1d8d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6d7efcb9aeb437c07f49cb5a589ed016d888acab08f130bb382f2d470b301ec40ce3df90fbe4cf989bc84468633b180894c60daca377346d283210e6fedba98
|
7
|
+
data.tar.gz: 2d45380434e8d88d534a27db1a1f843d70b925a64065d55ee637153669b3c78f1539bf4c84ee166ec90636ba3ee948a97540c0bdbac5cc3d68809c86874038f8
|
data/{History.txt → History.md}
RENAMED
@@ -1,4 +1,247 @@
|
|
1
|
-
|
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
|
2
245
|
|
3
246
|
* 1 minor features:
|
4
247
|
* Allow persistent_timeout to be configured via the dsl.
|
@@ -37,7 +280,7 @@
|
|
37
280
|
* Merge pull request #981 from zach-chai/patch-1
|
38
281
|
* Merge pull request #993 from scorix/master
|
39
282
|
|
40
|
-
|
283
|
+
## 3.4.0 / 2016-04-07
|
41
284
|
|
42
285
|
* 2 minor features:
|
43
286
|
* Add ability to force threads to stop on shutdown. Fixes #938
|
@@ -60,7 +303,7 @@
|
|
60
303
|
* Merge pull request #946 from vipulnsward/rm-pid
|
61
304
|
* Merge pull request #947 from vipulnsward/housekeeping-typos
|
62
305
|
|
63
|
-
|
306
|
+
## 3.3.0 / 2016-04-05
|
64
307
|
|
65
308
|
* 2 minor features:
|
66
309
|
* Allow overriding options of Configuration object
|
@@ -75,7 +318,7 @@
|
|
75
318
|
* Merge pull request #940 from kyledrake/signalsdoc
|
76
319
|
* Merge pull request #942 from dekellum/socket-activate-improve
|
77
320
|
|
78
|
-
|
321
|
+
## 3.2.0 / 2016-03-20
|
79
322
|
|
80
323
|
* 1 deprecation removal:
|
81
324
|
* Delete capistrano.rb
|
@@ -89,7 +332,7 @@
|
|
89
332
|
* Merge pull request #927 from jlecour/gemfile_variants
|
90
333
|
* Merge pull request #931 from joneslee85/patch-10
|
91
334
|
|
92
|
-
|
335
|
+
## 3.1.1 / 2016-03-17
|
93
336
|
|
94
337
|
* 4 bug fixes:
|
95
338
|
* Disable USR1 usage on JRuby
|
@@ -102,7 +345,7 @@
|
|
102
345
|
* Merge pull request #921 from swrobel/patch-1
|
103
346
|
* Merge pull request #924 from tbrisker/patch-1
|
104
347
|
|
105
|
-
|
348
|
+
## 3.1.0 / 2016-03-05
|
106
349
|
|
107
350
|
* 1 minor feature:
|
108
351
|
* Add 'import' directive to config file. Fixes #916
|
@@ -113,7 +356,7 @@
|
|
113
356
|
* Recreate the proper args manually. Fixes #910
|
114
357
|
* Require 'time' to get iso8601. Fixes #914
|
115
358
|
|
116
|
-
|
359
|
+
## 3.0.2 / 2016-02-26
|
117
360
|
|
118
361
|
* 5 bug fixes:
|
119
362
|
|
@@ -129,7 +372,7 @@
|
|
129
372
|
* Merge pull request #902 from corrupt952/fix_undefined_method_and_variable_when_execute_pumactl
|
130
373
|
* Merge pull request #905 from Eric-Guo/master
|
131
374
|
|
132
|
-
|
375
|
+
## 3.0.1 / 2016-02-25
|
133
376
|
|
134
377
|
* 1 bug fix:
|
135
378
|
|
@@ -137,7 +380,7 @@
|
|
137
380
|
websockets entirely. Seems no server has both hijack and async.callback
|
138
381
|
and thus faye is totally confused what to do and doesn't work.
|
139
382
|
|
140
|
-
|
383
|
+
## 3.0.0 / 2016-02-25
|
141
384
|
|
142
385
|
* 2 major changes:
|
143
386
|
|
@@ -187,7 +430,7 @@
|
|
187
430
|
* Merge pull request #897 from zendesk/master
|
188
431
|
* Merge pull request #899 from kch/kch-readme-fixes
|
189
432
|
|
190
|
-
|
433
|
+
## 2.16.0 / 2016-01-27
|
191
434
|
|
192
435
|
* 7 minor features:
|
193
436
|
|
@@ -227,13 +470,13 @@
|
|
227
470
|
* Merge pull request #860 from zendesk/expose_old_worker_count
|
228
471
|
* Merge pull request #861 from zendesk/allow_control_url_umask
|
229
472
|
|
230
|
-
|
473
|
+
## 2.15.3 / 2015-11-07
|
231
474
|
|
232
475
|
* 1 bug fix:
|
233
476
|
|
234
477
|
* Fix JRuby parser
|
235
478
|
|
236
|
-
|
479
|
+
## 2.15.2 / 2015-11-06
|
237
480
|
|
238
481
|
* 2 bug fixes:
|
239
482
|
* ext/puma_http11: handle duplicate headers as per RFC
|
@@ -243,13 +486,13 @@
|
|
243
486
|
* Merge pull request #818 from unleashed/support-duplicate-headers
|
244
487
|
* Merge pull request #819 from VictorLowther/fix-ca-and-verify_null-exception
|
245
488
|
|
246
|
-
|
489
|
+
## 2.15.1 / 2015-11-06
|
247
490
|
|
248
491
|
* 1 bug fix:
|
249
492
|
|
250
493
|
* Allow older openssl versions
|
251
494
|
|
252
|
-
|
495
|
+
## 2.15.0 / 2015-11-06
|
253
496
|
|
254
497
|
* 6 minor features:
|
255
498
|
* Allow setting ca without setting a verify mode
|
@@ -298,7 +541,7 @@
|
|
298
541
|
* Merge pull request #814 from schneems/schneems/worker_timeout-docs
|
299
542
|
* Merge pull request #817 from unleashed/worker-boot-timeout
|
300
543
|
|
301
|
-
|
544
|
+
## 2.14.0 / 2015-09-18
|
302
545
|
|
303
546
|
* 1 minor feature:
|
304
547
|
* Make building with SSL support optional
|
@@ -306,33 +549,33 @@
|
|
306
549
|
* 1 bug fix:
|
307
550
|
* Use Rack::Builder if available. Fixes #735
|
308
551
|
|
309
|
-
|
552
|
+
## 2.13.4 / 2015-08-16
|
310
553
|
|
311
554
|
* 1 bug fix:
|
312
555
|
* Use the environment possible set by the config early and from
|
313
556
|
the config file later (if set).
|
314
557
|
|
315
|
-
|
558
|
+
## 2.13.3 / 2015-08-15
|
316
559
|
|
317
560
|
Seriously, I need to revamp config with tests.
|
318
561
|
|
319
562
|
* 1 bug fix:
|
320
563
|
* Fix preserving options before cleaning for state. Fixes #769
|
321
564
|
|
322
|
-
|
565
|
+
## 2.13.2 / 2015-08-15
|
323
566
|
|
324
567
|
The "clearly I don't have enough tests for the config" release.
|
325
568
|
|
326
569
|
* 1 bug fix:
|
327
570
|
* Fix another place binds wasn't initialized. Fixes #767
|
328
571
|
|
329
|
-
|
572
|
+
## 2.13.1 / 2015-08-15
|
330
573
|
|
331
574
|
* 2 bug fixes:
|
332
575
|
* Fix binds being masked in config files. Fixes #765
|
333
576
|
* Use options from the config file properly in pumactl. Fixes #764
|
334
577
|
|
335
|
-
|
578
|
+
## 2.13.0 / 2015-08-14
|
336
579
|
|
337
580
|
* 1 minor feature:
|
338
581
|
* Add before_fork hooks option.
|
@@ -351,7 +594,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
351
594
|
* Merge pull request #759 from BenV/fix-centos6-build
|
352
595
|
* Merge pull request #761 from looker/no-log
|
353
596
|
|
354
|
-
|
597
|
+
## 2.12.3 / 2015-08-03
|
355
598
|
|
356
599
|
* 8 minor bugs fixed:
|
357
600
|
* Fix Capistrano 'uninitialized constant Puma' error.
|
@@ -372,13 +615,13 @@ The "clearly I don't have enough tests for the config" release.
|
|
372
615
|
* 1 test fix:
|
373
616
|
* Add 1.8.7, rbx-1 (allow failures) to Travis.
|
374
617
|
|
375
|
-
|
618
|
+
## 2.12.2 / 2015-07-17
|
376
619
|
|
377
620
|
* 2 bug fix:
|
378
621
|
* Pull over and use Rack::URLMap. Fixes #741
|
379
622
|
* Stub out peercert on JRuby for now. Fixes #739
|
380
623
|
|
381
|
-
|
624
|
+
## 2.12.1 / 2015-07-16
|
382
625
|
|
383
626
|
* 2 bug fixes:
|
384
627
|
* Use a constant format. Fixes #737
|
@@ -390,7 +633,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
390
633
|
* 1 PR merged:
|
391
634
|
* Merge pull request #736 from paulanunda/paulanunda/typo-fix
|
392
635
|
|
393
|
-
|
636
|
+
## 2.12.0 / 2015-07-14
|
394
637
|
|
395
638
|
* 13 bug fixes:
|
396
639
|
* Add thread reaping to thread pool
|
@@ -439,7 +682,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
439
682
|
* Merge pull request #729 from allaire/patch-1
|
440
683
|
* Merge pull request #730 from iamjarvo/container-infrastructure
|
441
684
|
|
442
|
-
|
685
|
+
## 2.11.3 / 2015-05-18
|
443
686
|
|
444
687
|
* 5 bug fixes:
|
445
688
|
* Be sure to unlink tempfiles after a request. Fixes #690
|
@@ -450,7 +693,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
450
693
|
* 1 PR merged:
|
451
694
|
* Merge pull request #698 from looker/hang-handshake
|
452
695
|
|
453
|
-
|
696
|
+
## 2.11.2 / 2015-04-11
|
454
697
|
|
455
698
|
* 2 minor features:
|
456
699
|
* Add `on_worker_fork` hook, which allows to mimic Unicorn's behavior
|
@@ -473,7 +716,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
473
716
|
* Merge pull request #667 from JuanitoFatas/doc/gemspec
|
474
717
|
* Merge pull request #672 from chulkilee/refactor
|
475
718
|
|
476
|
-
|
719
|
+
## 2.11.1 / 2015-02-11
|
477
720
|
|
478
721
|
* 2 bug fixes:
|
479
722
|
* Avoid crash in strange restart conditions
|
@@ -483,7 +726,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
483
726
|
* Merge pull request #644 from bpaquet/master
|
484
727
|
* Merge pull request #646 from mkonecny/master
|
485
728
|
|
486
|
-
|
729
|
+
## 2.11.0 / 2015-01-20
|
487
730
|
|
488
731
|
* 9 bug fixes:
|
489
732
|
* Add mode as an additional bind option to unix sockets. Fixes #630
|
@@ -516,7 +759,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
516
759
|
* Merge pull request #639 from ebeigarts/fix-phased-restarts
|
517
760
|
* Merge pull request #640 from codehotter/issue-612-dependent-requests-deadlock
|
518
761
|
|
519
|
-
|
762
|
+
## 2.10.2 / 2014-11-26
|
520
763
|
|
521
764
|
* 1 bug fix:
|
522
765
|
* Conditionalize thread local cleaning, fixes perf degradation fix
|
@@ -524,7 +767,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
524
767
|
overhead to a each request, so it has to be turned on explicitly
|
525
768
|
if a user needs it.
|
526
769
|
|
527
|
-
|
770
|
+
## 2.10.1 / 2014-11-24
|
528
771
|
|
529
772
|
* 1 bug fix:
|
530
773
|
* Load the app after daemonizing because the app might start threads.
|
@@ -535,7 +778,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
535
778
|
If you're app has problems starting up, start it without daemon mode initially
|
536
779
|
to test.
|
537
780
|
|
538
|
-
|
781
|
+
## 2.10.0 / 2014-11-23
|
539
782
|
|
540
783
|
* 3 minor features:
|
541
784
|
* Added on_worker_shutdown hook mechanism
|
@@ -564,7 +807,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
564
807
|
* Merge pull request #608 from Gu1/master
|
565
808
|
* Merge remote-tracking branch 'origin/pr/538'
|
566
809
|
|
567
|
-
|
810
|
+
## 2.9.2 / 2014-10-25
|
568
811
|
|
569
812
|
* 8 bug fixes:
|
570
813
|
* Fix puma-wild handling a restart properly. Fixes #550
|
@@ -584,7 +827,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
584
827
|
* Merge pull request #581 from alexch/slightly-better-logging
|
585
828
|
* Merge pull request #590 from looker/jruby_disable_sslv3
|
586
829
|
|
587
|
-
|
830
|
+
## 2.9.1 / 2014-09-05
|
588
831
|
|
589
832
|
* 4 bug fixes:
|
590
833
|
* Cleanup the SSL related structures properly, fixes memory leak
|
@@ -596,7 +839,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
596
839
|
* Merge pull request #561 from theoldreader/sighup
|
597
840
|
* Merge pull request #570 from havenwood/spawn-thread-edge-case
|
598
841
|
|
599
|
-
|
842
|
+
## 2.9.0 / 2014-07-12
|
600
843
|
|
601
844
|
* 1 minor feature:
|
602
845
|
* Add SSL support for JRuby
|
@@ -620,7 +863,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
620
863
|
* Merge pull request #544 from chulkilee/bsd-3-clause
|
621
864
|
* Merge pull request #551 from jcxplorer/patch-1
|
622
865
|
|
623
|
-
|
866
|
+
## 2.8.2 / 2014-04-12
|
624
867
|
|
625
868
|
* 4 bug fixes:
|
626
869
|
* During upgrade, change directory in main process instead of workers.
|
@@ -647,7 +890,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
647
890
|
* Merge pull request #517 from misfo/patch-1
|
648
891
|
* Merge pull request #518 from LongMan/master
|
649
892
|
|
650
|
-
|
893
|
+
## 2.8.1 / 2014-03-06
|
651
894
|
|
652
895
|
* 1 bug fixes:
|
653
896
|
* Run puma-wild with proper deps for prune_bundler
|
@@ -663,7 +906,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
663
906
|
* Merge pull request #490 from tobinibot/patch-1
|
664
907
|
* Merge pull request #491 from brianknight10/clarify-no-config
|
665
908
|
|
666
|
-
|
909
|
+
## 2.8.0 / 2014-02-28
|
667
910
|
|
668
911
|
* 8 minor features:
|
669
912
|
* Add ability to autoload a config file. Fixes #438
|
@@ -706,13 +949,13 @@ The "clearly I don't have enough tests for the config" release.
|
|
706
949
|
* Merge pull request #482 from prathamesh-sonpatki/signals-doc-cleanup
|
707
950
|
* Merge pull request #483 from YotpoLtd/master
|
708
951
|
|
709
|
-
|
952
|
+
## 2.7.1 / 2013-12-05
|
710
953
|
|
711
954
|
* 1 bug fix:
|
712
955
|
|
713
956
|
* Keep STDOUT/STDERR the right mode. Fixes #422
|
714
957
|
|
715
|
-
|
958
|
+
## 2.7.0 / 2013-12-03
|
716
959
|
|
717
960
|
* 1 minor feature:
|
718
961
|
* Adding TTIN and TTOU to increment/decrement workers
|
@@ -729,7 +972,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
729
972
|
* Increase the max URI path length to 2048 chars from 1024 chars
|
730
973
|
* Upstart jungle use config/puma.rb instead
|
731
974
|
|
732
|
-
|
975
|
+
## 2.6.0 / 2013-09-13
|
733
976
|
|
734
977
|
* 2 minor features:
|
735
978
|
* Add support for event hooks
|
@@ -742,14 +985,14 @@ The "clearly I don't have enough tests for the config" release.
|
|
742
985
|
* Handle BrokenPipe, StandardError and IOError in fat_wrote and break out
|
743
986
|
* Return success status to the invoking environment
|
744
987
|
|
745
|
-
|
988
|
+
## 2.5.1 / 2013-08-13
|
746
989
|
|
747
990
|
* 2 bug fixes:
|
748
991
|
|
749
992
|
* Keep jruby daemon mode from retrying on a hot restart
|
750
993
|
* Extract version from const.rb in gemspec
|
751
994
|
|
752
|
-
|
995
|
+
## 2.5.0 / 2013-08-08
|
753
996
|
|
754
997
|
* 2 minor features:
|
755
998
|
* Allow configuring pumactl with config.rb
|
@@ -771,12 +1014,12 @@ The "clearly I don't have enough tests for the config" release.
|
|
771
1014
|
* Remove obsolete pumactl instructions; refer to pumactl for details
|
772
1015
|
* Make Bundler used puma.gemspec version agnostic
|
773
1016
|
|
774
|
-
|
1017
|
+
## 2.4.1 / 2013-08-07
|
775
1018
|
|
776
1019
|
* 1 experimental feature:
|
777
1020
|
* Support raw tcp servers (aka Lopez Express mode)
|
778
1021
|
|
779
|
-
|
1022
|
+
## 2.4.0 / 2013-07-22
|
780
1023
|
|
781
1024
|
* 5 minor features:
|
782
1025
|
* Add PUMA_JRUBY_DAEMON_OPTS to get around agent starting twice
|
@@ -799,13 +1042,13 @@ The "clearly I don't have enough tests for the config" release.
|
|
799
1042
|
* Use 127.0.0.1 as REMOTE_ADDR of unix client. Fixes #309
|
800
1043
|
|
801
1044
|
|
802
|
-
|
1045
|
+
## 2.3.2 / 2013-07-08
|
803
1046
|
|
804
1047
|
* 1 bug fix:
|
805
1048
|
|
806
1049
|
* Move starting control server to after daemonization.
|
807
1050
|
|
808
|
-
|
1051
|
+
## 2.3.1 / 2013-07-06
|
809
1052
|
|
810
1053
|
* 2 bug fixes:
|
811
1054
|
|
@@ -815,7 +1058,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
815
1058
|
* 1 doc change:
|
816
1059
|
* Better document some platform constraints
|
817
1060
|
|
818
|
-
|
1061
|
+
## 2.3.0 / 2013-07-05
|
819
1062
|
|
820
1063
|
* 1 major bug fix:
|
821
1064
|
|
@@ -834,13 +1077,13 @@ The "clearly I don't have enough tests for the config" release.
|
|
834
1077
|
* Refactored modes into seperate classes that CLI uses
|
835
1078
|
* Changed CLI to take an Events object instead of stdout/stderr (API change)
|
836
1079
|
|
837
|
-
|
1080
|
+
## 2.2.2 / 2013-07-02
|
838
1081
|
|
839
1082
|
* 1 bug fix:
|
840
1083
|
|
841
1084
|
* Fix restart_command in the config
|
842
1085
|
|
843
|
-
|
1086
|
+
## 2.2.1 / 2013-07-02
|
844
1087
|
|
845
1088
|
* 1 minor feature:
|
846
1089
|
|
@@ -850,7 +1093,7 @@ The "clearly I don't have enough tests for the config" release.
|
|
850
1093
|
|
851
1094
|
* Pass custom restart command in JRuby
|
852
1095
|
|
853
|
-
|
1096
|
+
## 2.2.0 / 2013-07-01
|
854
1097
|
|
855
1098
|
* 1 major feature:
|
856
1099
|
|
@@ -861,14 +1104,14 @@ The "clearly I don't have enough tests for the config" release.
|
|
861
1104
|
* Don't leak info when not in development. Fixes #256
|
862
1105
|
* Load the app, then bind the ports
|
863
1106
|
|
864
|
-
|
1107
|
+
## 2.1.1 / 2013-06-20
|
865
1108
|
|
866
1109
|
* 2 minor bug fixes:
|
867
1110
|
|
868
1111
|
* Fix daemonization on jruby
|
869
1112
|
* Load the application before daemonizing. Fixes #285
|
870
1113
|
|
871
|
-
|
1114
|
+
## 2.1.0 / 2013-06-18
|
872
1115
|
|
873
1116
|
* 3 minor features:
|
874
1117
|
* Allow listening socket to be configured via Capistrano variable
|
@@ -897,13 +1140,13 @@ The "clearly I don't have enough tests for the config" release.
|
|
897
1140
|
* Add some documentation for Clustered mode
|
898
1141
|
* Added quotes to /etc/puma.conf
|
899
1142
|
|
900
|
-
|
1143
|
+
## 2.0.1 / 2013-04-30
|
901
1144
|
|
902
1145
|
* 1 bug fix:
|
903
1146
|
|
904
1147
|
* Fix not starting on JRuby properly
|
905
1148
|
|
906
|
-
|
1149
|
+
## 2.0.0 / 2013-04-29
|
907
1150
|
|
908
1151
|
RailsConf 2013 edition!
|
909
1152
|
|
@@ -920,7 +1163,7 @@ RailsConf 2013 edition!
|
|
920
1163
|
* Fix stdout/stderr logs to sync outputs
|
921
1164
|
* allow binding to IPv6 addresses
|
922
1165
|
|
923
|
-
|
1166
|
+
## 2.0.0.b7 / 2013-03-18
|
924
1167
|
|
925
1168
|
* 5 minor enhancements:
|
926
1169
|
|
@@ -945,7 +1188,7 @@ RailsConf 2013 edition!
|
|
945
1188
|
* Write out the state post-daemonize. Fixes #189
|
946
1189
|
* Prevent crash when all workers are gone
|
947
1190
|
|
948
|
-
|
1191
|
+
## 2.0.0.b6 / 2013-02-06
|
949
1192
|
|
950
1193
|
* 2 minor enhancements:
|
951
1194
|
|
@@ -956,7 +1199,7 @@ RailsConf 2013 edition!
|
|
956
1199
|
|
957
1200
|
* Change directory in working during upgrade. Fixes #185
|
958
1201
|
|
959
|
-
|
1202
|
+
## 2.0.0.b5 / 2013-02-05
|
960
1203
|
|
961
1204
|
* 2 major features:
|
962
1205
|
* Add phased worker upgrade
|
@@ -973,7 +1216,7 @@ RailsConf 2013 edition!
|
|
973
1216
|
* Move write_pid to after we daemonize. Fixes #180
|
974
1217
|
* Redirect IO properly and emit message for checkpointing
|
975
1218
|
|
976
|
-
|
1219
|
+
## 2.0.0.b4 / 2012-12-12
|
977
1220
|
|
978
1221
|
* 4 bug fixes:
|
979
1222
|
* Properly check #syswrite's value for variable sized buffers. Fixes #170
|
@@ -981,12 +1224,12 @@ RailsConf 2013 edition!
|
|
981
1224
|
* Handle char vs byte and mixing syswrite with write properly
|
982
1225
|
* made MiniSSL validate key/cert file existence
|
983
1226
|
|
984
|
-
|
1227
|
+
## 2.0.0.b3 / 2012-11-22
|
985
1228
|
|
986
1229
|
* 1 bug fix:
|
987
1230
|
* Package right files in gem
|
988
1231
|
|
989
|
-
|
1232
|
+
## 2.0.0.b2 / 2012-11-18
|
990
1233
|
* 5 minor feature:
|
991
1234
|
* Now Puma is bundled with an capistrano recipe. Just require
|
992
1235
|
'puma/capistrano' in you deploy.rb
|
@@ -1004,7 +1247,7 @@ RailsConf 2013 edition!
|
|
1004
1247
|
* Be sure to empty the drain the todo before shutting down. Fixes #155
|
1005
1248
|
* allow for alternate locations for status app
|
1006
1249
|
|
1007
|
-
|
1250
|
+
## 2.0.0.b1 / 2012-09-11
|
1008
1251
|
|
1009
1252
|
* 1 major feature:
|
1010
1253
|
* Optional worker process mode (-w) to allow for process scaling in
|
@@ -1017,30 +1260,30 @@ RailsConf 2013 edition!
|
|
1017
1260
|
NOTE: SSL support in JRuby is not supported at present. Support will
|
1018
1261
|
be added back in a future date when a java Puma::MiniSSL is added.
|
1019
1262
|
|
1020
|
-
|
1263
|
+
## 1.6.3 / 2012-09-04
|
1021
1264
|
|
1022
1265
|
* 1 bug fix:
|
1023
1266
|
* Close sockets waiting in the reactor when a hot restart is performed
|
1024
1267
|
so that browsers reconnect on the next request
|
1025
1268
|
|
1026
|
-
|
1269
|
+
## 1.6.2 / 2012-08-27
|
1027
1270
|
|
1028
1271
|
* 1 bug fix:
|
1029
1272
|
* Rescue StandardError instead of IOError to handle SystemCallErrors
|
1030
1273
|
as well as other application exceptions inside the reactor.
|
1031
1274
|
|
1032
|
-
|
1275
|
+
## 1.6.1 / 2012-07-23
|
1033
1276
|
|
1034
1277
|
* 1 packaging bug fixed:
|
1035
1278
|
* Include missing files
|
1036
1279
|
|
1037
|
-
|
1280
|
+
## 1.6.0 / 2012-07-23
|
1038
1281
|
|
1039
1282
|
* 1 major bug fix:
|
1040
1283
|
* Prevent slow clients from starving the server by introducing a
|
1041
1284
|
dedicated IO reactor thread. Credit for reporting goes to @meh.
|
1042
1285
|
|
1043
|
-
|
1286
|
+
## 1.5.0 / 2012-07-19
|
1044
1287
|
|
1045
1288
|
* 7 contributors to this release:
|
1046
1289
|
* Christian Mayer
|
@@ -1064,7 +1307,7 @@ be added back in a future date when a java Puma::MiniSSL is added.
|
|
1064
1307
|
* Allow Server#run to run sync. Fixes #111
|
1065
1308
|
* Puma can now run on windows
|
1066
1309
|
|
1067
|
-
|
1310
|
+
## 1.4.0 / 2012-06-04
|
1068
1311
|
|
1069
1312
|
* 1 bug fix:
|
1070
1313
|
* SCRIPT_NAME should be passed from env to allow mounting apps
|
@@ -1072,13 +1315,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
|
|
1072
1315
|
* 1 experimental feature:
|
1073
1316
|
* Add puma.socket key for direct socket access
|
1074
1317
|
|
1075
|
-
|
1318
|
+
## 1.3.1 / 2012-05-15
|
1076
1319
|
|
1077
1320
|
* 2 bug fixes:
|
1078
1321
|
* use #bytesize instead of #length for Content-Length header
|
1079
1322
|
* Use StringIO properly. Fixes #98
|
1080
1323
|
|
1081
|
-
|
1324
|
+
## 1.3.0 / 2012-05-08
|
1082
1325
|
|
1083
1326
|
* 2 minor features:
|
1084
1327
|
* Return valid Rack responses (passes Lint) from status server
|
@@ -1093,7 +1336,7 @@ be added back in a future date when a java Puma::MiniSSL is added.
|
|
1093
1336
|
* 1 new contributor:
|
1094
1337
|
* Jesse Cooke
|
1095
1338
|
|
1096
|
-
|
1339
|
+
## 1.2.2 / 2012-04-28
|
1097
1340
|
|
1098
1341
|
* 4 bug fixes:
|
1099
1342
|
|
@@ -1102,13 +1345,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
|
|
1102
1345
|
* Keep the encoding of the body correct. Fixes #79
|
1103
1346
|
* show error.to_s along with backtrace for low-level error
|
1104
1347
|
|
1105
|
-
|
1348
|
+
## 1.2.1 / 2012-04-11
|
1106
1349
|
|
1107
1350
|
1 bug fix:
|
1108
1351
|
|
1109
1352
|
* Fix rack.url_scheme for SSL servers. Fixes #65
|
1110
1353
|
|
1111
|
-
|
1354
|
+
## 1.2.0 / 2012-04-11
|
1112
1355
|
|
1113
1356
|
1 major feature:
|
1114
1357
|
|
@@ -1133,13 +1376,13 @@ be added back in a future date when a java Puma::MiniSSL is added.
|
|
1133
1376
|
* Seamus Abshere
|
1134
1377
|
* Steve Richert
|
1135
1378
|
|
1136
|
-
|
1379
|
+
## 1.1.1 / 2012-03-30
|
1137
1380
|
|
1138
1381
|
1 bugfix:
|
1139
1382
|
|
1140
1383
|
* Include puma/compat.rb in the gem (oops!)
|
1141
1384
|
|
1142
|
-
|
1385
|
+
## 1.1.0 / 2012-03-30
|
1143
1386
|
|
1144
1387
|
1 bugfix:
|
1145
1388
|
|
@@ -1149,6 +1392,6 @@ be added back in a future date when a java Puma::MiniSSL is added.
|
|
1149
1392
|
|
1150
1393
|
* Add umask param to the unix:// bind to set the umask
|
1151
1394
|
|
1152
|
-
|
1395
|
+
## 1.0.0 / 2012-03-29
|
1153
1396
|
|
1154
1397
|
* Released!
|