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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 050b1f326ec150b45a953f7233ff1e226bf3fd83
4
- data.tar.gz: afa5a8885a57cb6c92c53dc73bcd5d10685fc58c
3
+ metadata.gz: 36356b08376d431eb08b2f399eeed758fde7c520
4
+ data.tar.gz: 58e765595cdc12d4e9b39de6bd6b50f7888ec496
5
5
  SHA512:
6
- metadata.gz: ad876bf82ea34eb37209e7e12d1fc5b625bf0dfe2673d336980b576790c23ffca79d85e7675e5d3a0d2a05700b6434b49c527f6c1747bff63c48319bf7b03c82
7
- data.tar.gz: a705dc82f89b7df97ce9af1600eaedebf62c32d51869875386df7b8b4583e6c7f177723c985626f44b5289baad3416d8571e2c34a156830e47737b951747177d
6
+ metadata.gz: f06dd8eb798d4b211397545f4ee62237a93d12cf8a96e78e5a8ac6d067253d14b1fa4db7bc36ccd80fec89090bda246594237ed35345346be0a85898c7380956
7
+ data.tar.gz: 4d7820e79d817d6d920bc2059fb6369172234cf3c4c43bfb7fdd09dd3f10a9baa57347c56b20fac3fb5e9c6eb163da3708b7634508d3a7b9dd8daa586c935db6
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 3.11.2 / 2018-01-19
2
+
3
+ * 1 bugfix:
4
+ * Deal with read\_nonblock returning nil early
5
+
1
6
  ## 3.11.1 / 2018-01-18
2
7
 
3
8
  * 1 bugfix:
@@ -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
@@ -98,7 +98,7 @@ module Puma
98
98
  # too taxing on performance.
99
99
  module Const
100
100
 
101
- PUMA_VERSION = VERSION = "3.11.1".freeze
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.11.1
4
+ version: 3.11.2
5
5
  platform: java
6
6
  authors:
7
7
  - Evan Phoenix