puma 4.3.3-java → 4.3.4-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74024757af24c86b43fdd7360b8f8177fedfa1fb75b34f128175b16e12c4e20b
4
- data.tar.gz: 708c5433d1f023d23c0eda449f62294283caafbb77fcd4250f814aa5bba1d160
3
+ metadata.gz: eaeb596e00b8dd83a1a5ba3fd12624f66aad3ef1e116e32a856c889c6d7a7c99
4
+ data.tar.gz: b80e346f705289ad754ff4f33581560fb3497ee3b7219947d5a2a09a99a4311d
5
5
  SHA512:
6
- metadata.gz: b9411791854d704f8be4f8df38b212cf021eb3e3c9c82c2ab71230271fb053c81219229fec9f4973f8d4cbd632b3ab9f7cace5e81c883147d7f823cfe59694a4
7
- data.tar.gz: 4964f5bc6d0f921f28d7526b9313d80e7a90119fce7e74c325f3540055e7e7b797fb985d49e9a21cb8f9f04a883f0a64804e2cba364899047b261d7f55164e62
6
+ metadata.gz: 84f555dbc17adb9ea12de5d8600ed2c2db9d0301dc104494069f15d958d076f975fe5c14944bb024a484148403235b6d59554585e94960c2103bd1f0aafe80b6
7
+ data.tar.gz: 863de733e1065ac14f24050af546b11038c9c85e999cf8b7ec97f536c934b17f7764aeea620b68cf57b51c213b20bc4d6dafa274cb1de28303b4f4f64276c4b0
data/lib/puma/client.rb CHANGED
@@ -285,8 +285,16 @@ module Puma
285
285
 
286
286
  te = @env[TRANSFER_ENCODING2]
287
287
 
288
- if te && CHUNKED.casecmp(te) == 0
289
- return setup_chunked_body(body)
288
+ if te
289
+ if te.include?(",")
290
+ te.split(",").each do |part|
291
+ if CHUNKED.casecmp(part.strip) == 0
292
+ return setup_chunked_body(body)
293
+ end
294
+ end
295
+ elsif CHUNKED.casecmp(te) == 0
296
+ return setup_chunked_body(body)
297
+ end
290
298
  end
291
299
 
292
300
  @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 = "4.3.3".freeze
103
+ PUMA_VERSION = VERSION = "4.3.4".freeze
104
104
  CODE_NAME = "Mysterious Traveller".freeze
105
105
  PUMA_SERVER_STRING = ['puma', PUMA_VERSION, CODE_NAME].join(' ').freeze
106
106
 
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: 4.3.3
4
+ version: 4.3.4
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-02-28 00:00:00.000000000 Z
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement