rtunnel 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/core.rb +1 -1
- data/lib/server.rb +6 -0
- metadata +2 -2
data/lib/core.rb
CHANGED
data/lib/server.rb
CHANGED
@@ -21,6 +21,7 @@ module RTunnel
|
|
21
21
|
def initialize(port, host, control_connection)
|
22
22
|
super(port, host, 10)
|
23
23
|
@control_connection = control_connection
|
24
|
+
@maxConnections = 1024
|
24
25
|
end
|
25
26
|
|
26
27
|
def serve(sock)
|
@@ -59,6 +60,11 @@ module RTunnel
|
|
59
60
|
|
60
61
|
attr_accessor :ping_interval
|
61
62
|
|
63
|
+
def initialize(*args)
|
64
|
+
super
|
65
|
+
@maxConnections = 1024
|
66
|
+
end
|
67
|
+
|
62
68
|
class << self
|
63
69
|
def new_tunnel(conn_id)
|
64
70
|
D "sending create connection command: #{conn_id}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtunnel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- coderrr
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-16 00:00:00 +07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|