puma 3.11.1 → 3.11.2
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: ffa53258e98287ae926e61529a1e91b79ded9a23
|
4
|
+
data.tar.gz: 1c055094a31d86df48ec6b4840585fb1f38b9d73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 015f85a58ce86102cef24ad40360f43d01f220fbb2b08850113ef1eeea85158d7c316af4641c7de2de88829c99dd87b633fdbf7711b84f7a7f6442a0a832f3a7
|
7
|
+
data.tar.gz: 46d3b3ac6c5adcf6f5a81f7166a7aa2a9b361c629653ffe1d21df49fdbadb90bf47ffb6e5b48063af1a3ae4037da4c92a3dd1b36ac805c5ede98c4f13a504c47
|
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
|
|