File tree 5 files changed +6
-3
lines changed
5 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 20
20
go-version : ${{ matrix.go-version }}
21
21
- name : Checkout code
22
22
uses : actions/checkout@v2
23
+ - name : Run tests
24
+ run : cd test && go test && cd ..
23
25
- name : Build
24
26
run : mkdir dist && go build -tags "full" -o dist
25
27
- name : Upload Binary
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
)
12
12
13
13
const (
14
- Version = "v0.4.5 "
14
+ Version = "v0.4.6 "
15
15
)
16
16
17
17
type Runnable interface {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ enableMissingTranslationPlaceholders = false
16
16
# Source Code repository section
17
17
description = " An unidentifiable mechanism that helps you bypass GFW. "
18
18
github_repository = " https://github.com/p4gefau1t/trojan-go"
19
- version = " 0.4.5 "
19
+ version = " 0.4.6 "
20
20
21
21
# Documentation repository section
22
22
# documentation repository (set edit link to documentation repository)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ SimpleSocks协议是无认证机制的简单代理协议,本质上就是去除
8
8
9
9
SimpleSocks甚至比Socks5更简单,下面是头部结构。
10
10
11
- ```
11
+ ``` text
12
12
+-----+------+----------+----------+-----------+
13
13
| CMD | ATYP | DST.ADDR | DST.PORT | Payload |
14
14
+-----+------+----------+----------+-----------+
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ func (n *NAT) listenTCP(errChan chan error) {
88
88
})
89
89
if err != nil {
90
90
errChan <- err
91
+ return
91
92
}
92
93
n .listener = listener
93
94
defer listener .Close ()
You can’t perform that action at this time.
0 commit comments