puma 3.12.4-java → 3.12.5-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puma might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/puma/client.rb +10 -2
- data/lib/puma/const.rb +1 -1
- data/lib/puma/puma_http11.jar +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f8e52e71dbe192149dbca10abe4e8bf98f1fed4dd68eb733c0ce3dfe645c6ce
|
4
|
+
data.tar.gz: 459d0fb2a3c366950602539105c1af700c49ec6138729a29b2a11db71a239751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0af3eabc17ac3f580c5bc1200f8309528131c38b3d97a35793db299f49fd3aadaf9e5f051765c0f67d21d33db3268390f95c4e093c9a5fce4cde9e848feb8973
|
7
|
+
data.tar.gz: 8fd28d78cbd2c3d0bd332829e25f623b97b9ec58c8cf8ca60bf657075ff9b2cd4c9c0c5c16351627c6df4d98daacc86e3a00fa99e2b0f0aa4ef9533c3c69bdd1
|
data/lib/puma/client.rb
CHANGED
@@ -244,8 +244,16 @@ module Puma
|
|
244
244
|
|
245
245
|
te = @env[TRANSFER_ENCODING2]
|
246
246
|
|
247
|
-
if te
|
248
|
-
|
247
|
+
if te
|
248
|
+
if te.include?(",")
|
249
|
+
te.split(",").each do |part|
|
250
|
+
if CHUNKED.casecmp(part.strip) == 0
|
251
|
+
return setup_chunked_body(body)
|
252
|
+
end
|
253
|
+
end
|
254
|
+
elsif CHUNKED.casecmp(te) == 0
|
255
|
+
return setup_chunked_body(body)
|
256
|
+
end
|
249
257
|
end
|
250
258
|
|
251
259
|
@chunked_body = false
|
data/lib/puma/const.rb
CHANGED
@@ -100,7 +100,7 @@ module Puma
|
|
100
100
|
# too taxing on performance.
|
101
101
|
module Const
|
102
102
|
|
103
|
-
PUMA_VERSION = VERSION = "3.12.
|
103
|
+
PUMA_VERSION = VERSION = "3.12.5".freeze
|
104
104
|
CODE_NAME = "Llamas in Pajamas".freeze
|
105
105
|
PUMA_SERVER_STRING = ['puma', PUMA_VERSION, CODE_NAME].join(' ').freeze
|
106
106
|
|
data/lib/puma/puma_http11.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.12.
|
4
|
+
version: 3.12.5
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Evan Phoenix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server
|
14
14
|
for Ruby/Rack applications. Puma is intended for use in both development and production
|