File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ require (
31
31
github.com/metacubex/sing-shadowsocks2 v0.2.6
32
32
github.com/metacubex/sing-shadowtls v0.0.0-20250503063515-5d9f966d17a2
33
33
github.com/metacubex/sing-tun v0.4.8-0.20250827085914-fc5681b9fc9f
34
- github.com/metacubex/sing-vmess v0.2.4-0.20250822020810-4856053566f0
34
+ github.com/metacubex/sing-vmess v0.2.4-0.20250828081059-57e77685eef9
35
35
github.com/metacubex/sing-wireguard v0.0.0-20250503063753-2dc62acc626f
36
36
github.com/metacubex/smux v0.0.0-20250503055512-501391591dee
37
37
github.com/metacubex/tfo-go v0.0.0-20250827083229-aa432b865617
Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ github.com/metacubex/sing-shadowtls v0.0.0-20250503063515-5d9f966d17a2 h1:gXU+MY
131
131
github.com/metacubex/sing-shadowtls v0.0.0-20250503063515-5d9f966d17a2 /go.mod h1:mbfboaXauKJNIHJYxQRa+NJs4JU9NZfkA+I33dS2+9E =
132
132
github.com/metacubex/sing-tun v0.4.8-0.20250827085914-fc5681b9fc9f h1:1MV/pFn2vjnyvH/0u6sJST0kmaoZXgbUytCCfuelhl8 =
133
133
github.com/metacubex/sing-tun v0.4.8-0.20250827085914-fc5681b9fc9f /go.mod h1:FQ9zXA+kVhdzqgFqeJdi/AUhJgUgw+SUXqrR++GvbnM =
134
- github.com/metacubex/sing-vmess v0.2.4-0.20250822020810-4856053566f0 h1:WZepq4TOZa6WewB8tGAZrrL+bL2R2ivoBzuEgAeolWc =
135
- github.com/metacubex/sing-vmess v0.2.4-0.20250822020810-4856053566f0 /go.mod h1:21R5R1u90uUvBQF0owoooEu96/SAYYD56nDrwm6nFaM =
134
+ github.com/metacubex/sing-vmess v0.2.4-0.20250828081059-57e77685eef9 h1:VP7rBmRJUqBpP8uJQpzEqCgnbAYWbz2QtWqoBdNrmwU =
135
+ github.com/metacubex/sing-vmess v0.2.4-0.20250828081059-57e77685eef9 /go.mod h1:21R5R1u90uUvBQF0owoooEu96/SAYYD56nDrwm6nFaM =
136
136
github.com/metacubex/sing-wireguard v0.0.0-20250503063753-2dc62acc626f h1:Sr/DYKYofKHKc4GF3qkRGNuj6XA6c0eqPgEDN+VAsYU =
137
137
github.com/metacubex/sing-wireguard v0.0.0-20250503063753-2dc62acc626f /go.mod h1:jpAkVLPnCpGSfNyVmj6Cq4YbuZsFepm/Dc+9BAOcR80 =
138
138
github.com/metacubex/smux v0.0.0-20250503055512-501391591dee h1:lp6hJ+4wCLZu113awp7P6odM2okB5s60HUyF0FMqKmo =
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ func (vc *Conn) ReadBuffer(buffer *buf.Buffer) error {
125
125
}
126
126
if vc .input .Len () == 0 {
127
127
needReturn = true
128
+ * vc .input = bytes.Reader {} // full reset
128
129
vc .input = nil
129
130
} else { // buffer is full
130
131
return nil
@@ -139,6 +140,7 @@ func (vc *Conn) ReadBuffer(buffer *buf.Buffer) error {
139
140
}
140
141
needReturn = true
141
142
if vc .rawInput .Len () == 0 {
143
+ * vc .rawInput = bytes.Buffer {} // full reset
142
144
vc .rawInput = nil
143
145
}
144
146
}
You can’t perform that action at this time.
0 commit comments