protobuf 2.8.0.beta4-java → 2.8.0.beta5-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -169,6 +169,11 @@ module Protobuf
169
169
  def init_socket
170
170
  @socket = UDPSocket.new
171
171
  @socket.setsockopt(::Socket::SOL_SOCKET, ::Socket::SO_REUSEADDR, true)
172
+
173
+ if defined?(::Socket::SO_REUSEPORT)
174
+ @socket.setsockopt(::Socket::SOL_SOCKET, ::Socket::SO_REUSEPORT, true)
175
+ end
176
+
172
177
  @socket.bind(self.class.address, self.class.port.to_i)
173
178
  end
174
179
 
@@ -1,4 +1,4 @@
1
1
  module Protobuf
2
- VERSION = '2.8.0.beta4'
2
+ VERSION = '2.8.0.beta5'
3
3
  PROTOC_VERSION = '2.4.1'
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: protobuf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 2.8.0.beta4
5
+ version: 2.8.0.beta5
6
6
  platform: java
7
7
  authors:
8
8
  - BJ Neilsen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-21 00:00:00.000000000 Z
13
+ date: 2013-06-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport