mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
don't do normal close in error case
This commit is contained in:
parent
5013d387a5
commit
3a8eef2dec
@ -139,7 +139,6 @@ func (v *Stream) CloseError() {
|
|||||||
defer swallowPanic()
|
defer swallowPanic()
|
||||||
|
|
||||||
close(v.err)
|
close(v.err)
|
||||||
v.Close()
|
|
||||||
|
|
||||||
n := len(v.buffer)
|
n := len(v.buffer)
|
||||||
for i := 0; i < n; i++ {
|
for i := 0; i < n; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user