iodine 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of iodine might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/iodine/protocol.rb +1 -1
- data/lib/iodine/version.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: 752ba7ae9bc2bf3181d02e697d00bc09938b0ab6
|
4
|
+
data.tar.gz: c25fd0acb874832e01378b34ae08d572e968046e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2a6f751f8e14a91961f2a54f334ecc630aec25efa50cfb5134082fee50002e9c69f4b9b8576f0bfa80bffd790e89a8d7d790758251f11551e98ee567bca0467
|
7
|
+
data.tar.gz: 4aabdd6b9c80d81268165ecca77ea075aa7c944129f08148906b7f9b2299588fe8f31d8cbcdfb8ede9c417bff0230342f4f597fddce884a9bcc18310c5de0e04
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
data/lib/iodine/protocol.rb
CHANGED
@@ -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
|
-
|
54
|
+
@locker.locked? ? touch : close
|
55
55
|
end
|
56
56
|
|
57
57
|
#############
|
data/lib/iodine/version.rb
CHANGED