puma 3.12.4 → 3.12.5

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/puma/client.rb +10 -2
  3. data/lib/puma/const.rb +1 -1
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90c787c1348aac4bd79f044a1d8a7014c21a5bf2367bb6362ab7aad7149aad0b
4
- data.tar.gz: e1f3c2988248be7b1fe505589d9062939c01fc5a98436dfde40a5c4fe797716f
3
+ metadata.gz: 456e9efa474374d74852758bf143f4fe3c3bece2fb485023c10a626e5c0756ee
4
+ data.tar.gz: ecf88dd8116080019a291e4090fee1b7787dbef7a16c1f8654750828d763421c
5
5
  SHA512:
6
- metadata.gz: 2f4007051eecb452c7afa81869d521433a42dd5b05032fb348603086ce07912b482f03fa0073bef75103c3d1c1676836fb2816373750cff4097969b0f7b92da5
7
- data.tar.gz: 4932f28317bb3100de12e531dbc00e4e944357cce687a56034c8d08919cf137050f22ce288015449a8b1123a51b61820d932df77b57d6aeda6101526b271de47
6
+ metadata.gz: 2a16bcdab633246d4efb4a39f33d01f6d10f5f831bbc4d9c13cef49c9cf4114f30f4425d71b1bf6300b67e3e68242cdc2bf79a0ca200c1ff3489a1c2a68dbf02
7
+ data.tar.gz: b925bb8779a7539812510ac6e2ec4ce4fbc4bebdb525b89e6097e396f0764ac211b6904b7da810ec8c87cb2779bc91ffac5d0729e6032c1c44cb0086a03c8c78
@@ -244,8 +244,16 @@ module Puma
244
244
 
245
245
  te = @env[TRANSFER_ENCODING2]
246
246
 
247
- if te && CHUNKED.casecmp(te) == 0
248
- return setup_chunked_body(body)
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
@@ -100,7 +100,7 @@ module Puma
100
100
  # too taxing on performance.
101
101
  module Const
102
102
 
103
- PUMA_VERSION = VERSION = "3.12.4".freeze
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
 
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
4
+ version: 3.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Phoenix
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-28 00:00:00.000000000 Z
11
+ date: 2020-05-18 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
@@ -108,7 +108,7 @@ licenses:
108
108
  - BSD-3-Clause
109
109
  metadata:
110
110
  msys2_mingw_dependencies: openssl
111
- post_install_message:
111
+ post_install_message:
112
112
  rdoc_options: []
113
113
  require_paths:
114
114
  - lib
@@ -123,8 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.0.6
127
- signing_key:
126
+ rubygems_version: 3.0.3
127
+ signing_key:
128
128
  specification_version: 4
129
129
  summary: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for
130
130
  Ruby/Rack applications