Skip to content

Commit

Permalink
v0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed May 19, 2024
1 parent 02a1bb3 commit 262aaca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vproxy"
version = "0.3.2"
version = "0.3.3"
edition = "2021"
authors = ["[email protected]"]
description = "An easy and powerful Rust HTTP/Socks5 Proxy"
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Options:
-V, --version Print version

$ vproxy run -h
Run proxyserver
Run server

Usage: vproxy run [OPTIONS] <COMMAND>

Expand All @@ -128,13 +128,14 @@ Commands:
help Print this message or the help of the given subcommand(s)

Options:
--debug Debug mode [env: VPROXY_DEBUG=]
-b, --bind <BIND> Bind address [default: 0.0.0.0:8100]
-c, --concurrent <CONCURRENT> Concurrent connections [default: 1024]
-w, --whitelist <WHITELIST> IP addresses whitelist, e.g. 47.253.53.46,47.253.81.245
-i, --cidr <CIDR> Ip-CIDR, e.g. 2001:db8::/32
-f, --fallback <FALLBACK> Fallback address
-h, --help Print help
--debug Debug mode [env: VPROXY_DEBUG=]
-b, --bind <BIND> Bind address [default: 0.0.0.0:8100]
-c, --concurrent <CONCURRENT> Concurrent connections [default: 1024]
-T, --connect-timeout <CONNECT_TIMEOUT> Connection timeout [default: 10]
-w, --whitelist <WHITELIST> IP addresses whitelist, e.g. 47.253.53.46,47.253.81.245
-i, --cidr <CIDR> Ip-CIDR, e.g. 2001:db8::/32
-f, --fallback <FALLBACK> Fallback address
-h, --help Print help
```

### Compile
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub struct BootArgs {
/// Concurrent connections
#[clap(short, long, default_value = "1024")]
concurrent: usize,
/// Connection timeout
/// Connection timeout in seconds
#[clap(short = 'T', long, default_value = "10")]
connect_timeout: u64,
/// IP addresses whitelist, e.g. 47.253.53.46,47.253.81.245
Expand Down

0 comments on commit 262aaca

Please sign in to comment.