forward-proxy 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/exe/forward-proxy +2 -2
- data/lib/forward_proxy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f624058897845408afede390c49b3048ee7a74f
|
4
|
+
data.tar.gz: d2a90df621baefdecc61bba48a44bfdee2180766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76d5bffc4db996cdc9578baa97cef6e13eb519cc065a0856cf83724470b27beaf6819b66aaddaf10bc21b1053b269635623ed5b4e9e0f13dff561bc044c7313d
|
7
|
+
data.tar.gz: e085eba75e664a72575920750045ef62334cc0e3c64c72daddc5db5bf571656fb395790c6cb5d0a32bd3b3320fdeb2e0ce50705d59e3a2da0844628ae9b37148
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -37,9 +37,9 @@ forward-proxy
|
|
37
37
|
```
|
38
38
|
Usage: forward-proxy [options]
|
39
39
|
-p, --port=PORT Bind to specified port. Default: 9292
|
40
|
-
-b, --binding=BINDING Bind to the specified
|
40
|
+
-b, --binding=BINDING Bind to the specified ip. Default: 127.0.0.1
|
41
41
|
-t, --threads=THREADS Specify the number of client threads. Default: 32
|
42
|
-
-h, --help Prints this help
|
42
|
+
-h, --help Prints this help.
|
43
43
|
```
|
44
44
|
|
45
45
|
### Library
|
data/exe/forward-proxy
CHANGED
@@ -11,7 +11,7 @@ OptionParser.new do |parser|
|
|
11
11
|
options[:bind_port] = bind_port
|
12
12
|
end
|
13
13
|
|
14
|
-
parser.on("-bBINDING", "--binding=BINDING", String, "Bind to the specified
|
14
|
+
parser.on("-bBINDING", "--binding=BINDING", String, "Bind to the specified ip. Default: 127.0.0.1") do |bind_address|
|
15
15
|
options[:bind_address] = bind_address
|
16
16
|
end
|
17
17
|
|
@@ -19,7 +19,7 @@ OptionParser.new do |parser|
|
|
19
19
|
options[:threads] = threads
|
20
20
|
end
|
21
21
|
|
22
|
-
parser.on("-h", "--help", "Prints this help") do
|
22
|
+
parser.on("-h", "--help", "Prints this help.") do
|
23
23
|
puts parser
|
24
24
|
exit
|
25
25
|
end
|