brotorift 0.6.2 → 0.6.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
  SHA256:
3
- metadata.gz: 3f789b64f64a1c6bb43cf37b6a68f5bf48f7c70a117684827ba788a3de4e1024
4
- data.tar.gz: 3a6e66310d48cc8c7142f93d94aba3ae577c6d0515a5e4c75e825353b4f73bbf
3
+ metadata.gz: 89d252d998fd9325e68a6d94de1089cf25fcb7eaee49d5b765b9194cf8da0d8a
4
+ data.tar.gz: d6a34e8307e59f6b0526c9f495bb9ddf1784492359720af92ea722d12185e197
5
5
  SHA512:
6
- metadata.gz: 92b8a43aaa7e61fb3ffe3435fc36dd1f369ab0ef0305e8926f59585545c76531869bf0c2a95241f9f7fb0f10e4a1fc907e9fa7f76ec442773149831d58112ec3
7
- data.tar.gz: 9564dee303bfc8edee3de7bd82f0f811b1b09f6b23f18c613f769236236435ccf9abb2a272ab6d4eec042fd2879641dcd0d4176665fc19dd01c0a98d2bc87418
6
+ metadata.gz: 6c3e769db37d95bbcf15ce6cffeb453ee63ced140ef3d43b54ea2c5eb9218387481cfb65abbc1f2708af9d68bde1d20023d0355c66ef9c169fd0a1c8a59d21ab
7
+ data.tar.gz: af59ab37fffd8449517f65a0bdc3cf1e3cd20240d0c52d2894f10300b8c3f8b421cfe361c60a3fad590c87fc81ad9e9d921938edbb55eaaa4acaf3d460831def
@@ -95,7 +95,7 @@ defmodule <%= node.namespace %>.<%= node.elixir_connection %> do
95
95
  {:ok, new_state} ->
96
96
  {:noreply, {socket, transport, handler, new_state}}
97
97
  {:stop, reason, new_state} ->
98
- {:stop, reason, new_state}
98
+ {:stop, reason, {socket, transport, handler, new_state}}
99
99
  end
100
100
  end
101
101
  <% for m in n.out_direction.messages.values %>
@@ -107,8 +107,9 @@ defmodule <%= node.namespace %>.<%= node.elixir_connection %> do
107
107
  {:noreply, {socket, transport, handler, state}}
108
108
  end
109
109
  <% end %>
110
- def terminate(_reason, {_socket, _transport, handler, state}) do
110
+ def terminate(_reason, {socket, transport, handler, state}) do
111
111
  handler.close_connection(self(), state)
112
+ transport.close(socket)
112
113
  end
113
114
 
114
115
  defp process_packet(<<>>, _handler, state) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brotorift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ren