Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snail007 committed May 18, 2020
1 parent d6fe41a commit 3d3bb94
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1890,6 +1890,11 @@ bytes: the number of traffic bytes used by the user.

The `--traffic-url` URL must response the HTTP status code` 204`. Only when the traffic is reported will the report be considered successful, and if it response other status codes, it will be considered that the reported traffic failed, and the log will be output.

#### traffic flow

![traffic](/doc/images/traffic.png)


### Disconnect the user's connection

The proxy's http (s) / socks5 / sps proxy function supports a control interface, which can be specified by the parameter --control-url http interface address,
Expand Down
4 changes: 4 additions & 0 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -1865,6 +1865,10 @@ bytes: 此次使用的流量字节数.

访问的`--traffic-url`地址接口必须返回HTTP状态码`204`,流量上报才认为上报成功,返回其它状态码将认为上报流量失败,会输出相关日志。

#### 流量上报原理

![traffic](/doc/images/traffic.png)

### 主动断开用户连接

proxy的http(s)/socks5/sps代理功能支持`控制接口`,可以通过参数`--control-url`指定的http接口地址,
Expand Down
5 changes: 5 additions & 0 deletions docs/manual/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,11 @@ bytes: the number of traffic bytes used by the user.

The `--traffic-url` URL must response the HTTP status code` 204`. Only when the traffic is reported will the report be considered successful, and if it response other status codes, it will be considered that the reported traffic failed, and the log will be output.

#### traffic flow

![traffic](https://raw.githubusercontent.com/snail007/goproxy/master/doc/images/traffic.png)


### Disconnect the user's connection

The proxy's http (s) / socks5 / sps proxy function supports a control interface, which can be specified by the parameter --control-url http interface address,
Expand Down
4 changes: 4 additions & 0 deletions docs/manual/zh/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,10 @@ bytes: 此次使用的流量字节数.

访问的`--traffic-url`地址接口必须返回HTTP状态码`204`,流量上报才认为上报成功,返回其它状态码将认为上报流量失败,会输出相关日志。

#### 流量上报原理

![traffic](https://gitee.com/snail/proxy/raw/master/doc/images/traffic.png)

### 主动断开用户连接

proxy的http(s)/socks5/sps代理功能支持`控制接口`,可以通过参数`--control-url`指定的http接口地址,
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/first/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ <h4 id="高级使用">高级使用</h4>

<p><code>client</code> 多路复用版内网穿透的client端</p>

<p><code>server</code> 多路复用版内网穿透的bridge端</p>
<p><code>server</code> 多路复用版内网穿透的server端</p>

<p><code>tbridge</code> 多链接版内网穿透的bridge端</p>

Expand Down

0 comments on commit 3d3bb94

Please sign in to comment.