websocket-driver 0.5.2 → 0.5.3

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: 355c38f7905603a5432ff7ade68f18b103623a9f
4
- data.tar.gz: e133de9ac38c9b6b82a3e2142947f64c4a2b022c
3
+ metadata.gz: 279ea094c3b56d83654b92d0d2edc2f919a276b8
4
+ data.tar.gz: f9cc7d12ec60e7e495f434318e5bf6332ac42ce3
5
5
  SHA512:
6
- metadata.gz: 2d236fe96b7f63e1f029c2afe0d3817c3354792266d5a77efded6ce48a19b695f49c2c273aa836bbbed2d87256f5edd3d6b8199fa26ee77c8b465214f0cb04f6
7
- data.tar.gz: 6bafd2375b6ddda1063161f0714a3c119589f431795ac0da8b1da8f13f2134903ebf534e5d7a66edf94a9af50aa6eb1d3f67aecc99105c39a3aef490860618c9
6
+ metadata.gz: 89b8be4c679cdc295e4863706fe340a542e63297195aa853798667852693f2c9917281de3128c935e213a7395696c082cd799d8d76cc6ef8dcce4fdd4f563635
7
+ data.tar.gz: be0b80ff9a6c35686fb1157ccb757f8770579c5655ada3f250b701e84f92fa4942510ed073b2c117acf6c07c2b839127fd20b12e5622c403905c50ba8d60649d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.5.3 / 2015-02-22
2
+
3
+ * Don't treat incoming data as WebSocket frames if a client driver is closed
4
+ before receiving the server handshake
5
+
1
6
  ### 0.5.2 / 2015-02-19
2
7
 
3
8
  * Don't emit multiple `error` events
@@ -53,6 +53,7 @@ module WebSocket
53
53
  end
54
54
 
55
55
  def parse(buffer)
56
+ return if @ready_state == 3
56
57
  return super if @ready_state > 0
57
58
 
58
59
  @http.parse(buffer)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websocket-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Coglan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2015-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: websocket-extensions