bogo-websocket 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42806c4aefc567495321acbb11e5ffd33dd4d449
4
- data.tar.gz: f66831ca07687f153ce4804fc8d44490077911d9
3
+ metadata.gz: f654e8174cba3c2e7f53e4a1b6614253042fa8a1
4
+ data.tar.gz: 90a4dad66c9712479a844cd3bed23774636deeae
5
5
  SHA512:
6
- metadata.gz: b136afc09b242cf725eb3430bf85322740d376d7d498675024ada504a8ef810e4082f5b8fccb19146f3001c7274baa4703f6c62a130651f60f316fc52980aa40
7
- data.tar.gz: c874dbd4b8d77b6f0c42e81d20081b46aedf1740af8d18dddc1220e82a9749972351acda36cd4acab4393ec0f511abb16d465c05b26c2933de20149fbe605937
6
+ metadata.gz: 144ce085ffc83667241f70077e2d713b1f6d230a2f4d586745c4b60890160807821cb1f5c1aacfdc6a34e7457867d29d04c877bea5c2f31c22984cc31e765e51
7
+ data.tar.gz: c1e6d8827ccbd0cc305d24dce6f0def5bbba14e065d2409a31439e0a92e119eacc6c7621ea5b352f7cfde19d47d5316435ed14d151a720e29c24f9a8cc2b9bee
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.1.4
2
+ * Rescue connection resets and close gracefully
3
+
1
4
  # v0.1.2
2
5
  * Do not automatically close socket on EOF
3
6
 
@@ -1,5 +1,5 @@
1
1
  module Bogo
2
2
  module Websocket
3
- VERSION = Gem::Version.new('0.1.2')
3
+ VERSION = Gem::Version.new('0.1.4')
4
4
  end
5
5
  end
@@ -79,7 +79,7 @@ module Bogo
79
79
  handle_message(message)
80
80
  end
81
81
  end
82
- rescue IO::WaitReadable, EOFError
82
+ rescue IO::WaitReadable, EOFError, Errno::ECONNRESET
83
83
  unless(die || connection.closed?)
84
84
  IO.select([connection, control_r])
85
85
  retry
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bogo-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-07 00:00:00.000000000 Z
11
+ date: 2015-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bogo