mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 13:32:41 +08:00
Fix missing write result in TFO open
This commit is contained in:
parent
1b15e1692a
commit
bf6cc8903c
|
@ -80,6 +80,7 @@ func (c *slowOpenConn) Write(b []byte) (n int, err error) {
|
|||
c.conn = nil
|
||||
c.err = E.Cause(err, "dial tcp fast open")
|
||||
}
|
||||
n = len(b)
|
||||
close(c.create)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user