iodine 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of iodine might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08fe1f8f8ebb9d46760123f8ca97f9811e350190
4
- data.tar.gz: bccdc5e606be4dcb98a27f81b39f115d6ee3c37e
3
+ metadata.gz: 752ba7ae9bc2bf3181d02e697d00bc09938b0ab6
4
+ data.tar.gz: c25fd0acb874832e01378b34ae08d572e968046e
5
5
  SHA512:
6
- metadata.gz: b203fafc5965ae514600798dac5ac96ed61f9a54e5ef55b32bad1335c79844dbf1a967e0603530f68d48fadd919c4f4d81257917cdea0934c9d8ee9232573186
7
- data.tar.gz: cb90e413302e828682192bc349c2cadcd1e817b9b3a5c3cb41139153deddcd08ea259e561d6b8c75a30742afb4536b9d74bf41e0ecf27f57b35c970ac0e9e7c7
6
+ metadata.gz: e2a6f751f8e14a91961f2a54f334ecc630aec25efa50cfb5134082fee50002e9c69f4b9b8576f0bfa80bffd790e89a8d7d790758251f11551e98ee567bca0467
7
+ data.tar.gz: 4aabdd6b9c80d81268165ecca77ea075aa7c944129f08148906b7f9b2299588fe8f31d8cbcdfb8ede9c417bff0230342f4f597fddce884a9bcc18310c5de0e04
@@ -8,6 +8,12 @@ Please notice that this change log contains changes for upcoming releases as wel
8
8
 
9
9
  ***
10
10
 
11
+ Change log v.0.1.2
12
+
13
+ **Fix**: fixed an issue where the default implementation of `ping` didn not reset the timeout if the connection wasn't being closed (the default implementation checks if the Protocol is working on existing data and either resets the timer allowing the work to complete or closes the connection if no work is being done).
14
+
15
+ ***
16
+
11
17
  Change log v.0.1.1
12
18
 
13
19
  **Fix**: Fixed an issue where slow processing of Http/1 requests could cause timeout disconnections to occur while the request is being processed.
@@ -51,7 +51,7 @@ module Iodine
51
51
  # This method is called whenever a timeout has occurred. Either implement a ping or close the connection.
52
52
  # The default implementation closes the connection unless the protocol is still processing information received before timeout occurred.
53
53
  def ping
54
- close unless @locker.locked?
54
+ @locker.locked? ? touch : close
55
55
  end
56
56
 
57
57
  #############
@@ -1,3 +1,3 @@
1
1
  module Iodine
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iodine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boaz Segev