websocket-driver 0.5.2-java → 0.5.3-java

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: 204e724cade4affb9fa01f98056d0c36e62af18e
4
- data.tar.gz: 08b5f37a0e84ae7b241cec00f72814ccf3653018
3
+ metadata.gz: 109c1f59f22a771cae5e2f1cdd979b35c502ea15
4
+ data.tar.gz: 53e2427e3b644794392c476c1e7be23255c3ca4b
5
5
  SHA512:
6
- metadata.gz: 7de37329327a3dc0af08de66c4fa6eed954fb99a77b0995f3332ffc332470519d2a64aef07337672553a53308fda349c325497b9cf9d6b1e81f50ff8843d9b6c
7
- data.tar.gz: 9f19147ee7a20731507567a2670836da31c67664eee4abdd94b54afded93f44130ebf905ff2353bdae602f6acc6982fb9d1d814a00c99c3c37eac3364037815e
6
+ metadata.gz: 8b7798d7dfb4d22189d1301e9fa2e7536fb2e7e06a00b0e19065f766a925029b077b85f1f53f35024e0bce2daa670ac7ab97b4b0389055585ba6e84bc01cd1b5
7
+ data.tar.gz: 156bce5b21675bfc563338ac3054d8719260ab5a7662fa9e1dfaa1710d5bae479bbf62a97432ff8fe1e122bc4ff6ef3de186578af424a9355f30916adae4edba
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: java
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