puma 3.11.1-java → 3.11.2-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/History.md +5 -0
- data/lib/puma/client.rb +16 -0
- data/lib/puma/const.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36356b08376d431eb08b2f399eeed758fde7c520
|
4
|
+
data.tar.gz: 58e765595cdc12d4e9b39de6bd6b50f7888ec496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f06dd8eb798d4b211397545f4ee62237a93d12cf8a96e78e5a8ac6d067253d14b1fa4db7bc36ccd80fec89090bda246594237ed35345346be0a85898c7380956
|
7
|
+
data.tar.gz: 4d7820e79d817d6d920bc2059fb6369172234cf3c4c43bfb7fdd09dd3f10a9baa57347c56b20fac3fb5e9c6eb163da3708b7634508d3a7b9dd8daa586c935db6
|
data/History.md
CHANGED
data/lib/puma/client.rb
CHANGED
@@ -284,6 +284,14 @@ module Puma
|
|
284
284
|
raise ConnectionError, "Connection error detected during read"
|
285
285
|
end
|
286
286
|
|
287
|
+
# No data means a closed socket
|
288
|
+
unless data
|
289
|
+
@buffer = nil
|
290
|
+
@requests_served += 1
|
291
|
+
@ready = true
|
292
|
+
raise EOFError
|
293
|
+
end
|
294
|
+
|
287
295
|
if @buffer
|
288
296
|
@buffer << data
|
289
297
|
else
|
@@ -313,6 +321,14 @@ module Puma
|
|
313
321
|
raise e
|
314
322
|
end
|
315
323
|
|
324
|
+
# No data means a closed socket
|
325
|
+
unless data
|
326
|
+
@buffer = nil
|
327
|
+
@requests_served += 1
|
328
|
+
@ready = true
|
329
|
+
raise EOFError
|
330
|
+
end
|
331
|
+
|
316
332
|
if @buffer
|
317
333
|
@buffer << data
|
318
334
|
else
|
data/lib/puma/const.rb
CHANGED
@@ -98,7 +98,7 @@ module Puma
|
|
98
98
|
# too taxing on performance.
|
99
99
|
module Const
|
100
100
|
|
101
|
-
PUMA_VERSION = VERSION = "3.11.
|
101
|
+
PUMA_VERSION = VERSION = "3.11.2".freeze
|
102
102
|
CODE_NAME = "Love Song".freeze
|
103
103
|
PUMA_SERVER_STRING = ['puma', PUMA_VERSION, CODE_NAME].join(' ').freeze
|
104
104
|
|