Fix missing write result in TFO open

This commit is contained in:
世界 committed 2024-01-19 11:22:13 +08:00
1 parent 1b15e1692a
commit bf6cc8903c
1 file changed
+1
+1
View File
@@ -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
}