ffwd 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ffwd/protocol/udp/bind.rb +5 -1
- data/lib/ffwd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 688152de789b03635d79a5810a60503a8afb9d2a
|
4
|
+
data.tar.gz: 6b0f17db915c40e207ebc4383ca99a042d5c2cdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aea5e26a7aa41c9921990fcc483ce5b847ac542ff4b08c5589df728df8072678ab4a9a894303a46f2d9989a1261186cc6ba79621c90c3e70d1142848d4fe465
|
7
|
+
data.tar.gz: b166a225af6c9409103b3381ffcdfdb942c549cced81e0f99519827db81df85e0e4e13bb81cdcd086d6680b1e34d03e4961646de5372fa8857f3ce8e8ce54935
|
@@ -58,7 +58,6 @@ module FFWD::UDP
|
|
58
58
|
|
59
59
|
if size = config[:receive_buffer_size]
|
60
60
|
log.debug "Setting receive buffer size to #{size}"
|
61
|
-
@socket.set_sock_opt Socket::SOL_SOCKET, Socket::SO_RCVBUFFORCE, true
|
62
61
|
@socket.set_sock_opt Socket::SOL_SOCKET, Socket::SO_RCVBUF, size
|
63
62
|
end
|
64
63
|
|
@@ -68,6 +67,11 @@ module FFWD::UDP
|
|
68
67
|
|
69
68
|
r.error do |a, t, e|
|
70
69
|
log.warning "Bind on #{info} failed, retry ##{a} in #{t}s: #{e}"
|
70
|
+
|
71
|
+
if @socket
|
72
|
+
@socket.close
|
73
|
+
@socket = nil
|
74
|
+
end
|
71
75
|
end
|
72
76
|
|
73
77
|
r.depend_on core
|
data/lib/ffwd/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffwd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John-John Tedro
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|