spider-gazelle 2.0.3 → 2.0.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: aa54ad709c599040952a6b5eb3b7828588c189a3
4
- data.tar.gz: 29590d95bfbe05eee8d103360c9f2c8fd23e864b
3
+ metadata.gz: c58fe4be1489a50a6ccaa2ddc2f49593a8141060
4
+ data.tar.gz: fa45ab4c055d22fa7feb9ab4307c9cd8c27b56d3
5
5
  SHA512:
6
- metadata.gz: dce6e2a81089ff0236b07d438e210975d78470e8da3055ab061998aab0f70bd2f87d0df4ce01ba51c15ff4b67b8fb8e7245c90e6b36620ef240dda6f7a7e7970
7
- data.tar.gz: 4392fac11db9220e2252e8f04c78c8d9d0c720341b8777131f420b991c43ba8b77306f30440959cae03944213937c2e33d78b6fbfe305e501d096efb2e533f18
6
+ metadata.gz: afa593ea2c53a7417ef75868e8d72b0b2a5786f715049f0dffc9260fe9abdb4d813f29746dcd35af104774139d0dbcee25ca41cf0bd8f75a1c4728f4a1f297d2
7
+ data.tar.gz: 48e07a08af8002346cda819620e0046d8c1c6669341d61a862b6490a32797f74dc29771ea4ea9852f11b4d040f07fe3d190ecdea7e6484b602ff7f109599a3a2
@@ -71,7 +71,13 @@ module SpiderGazelle
71
71
  protected
72
72
 
73
73
  def socket_read(data, tcp)
74
- @driver.parse data
74
+ begin
75
+ @driver.parse data
76
+ rescue => e
77
+ # Prevent hanging sockets
78
+ @socket.close
79
+ raise e
80
+ end
75
81
  end
76
82
 
77
83
  def socket_close
@@ -1,5 +1,5 @@
1
1
 
2
2
  module SpiderGazelle
3
- VERSION = '2.0.3'.freeze
3
+ VERSION = '2.0.4'.freeze
4
4
  EXEC_NAME = 'sg'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spider-gazelle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-16 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake