Fix TLS record fragment

This commit is contained in:
Restia-Ashbell authored and 世界 committed 2025-07-08 13:14:39 +08:00
1 parent ed5b2f2997
commit 7cee76f9a6
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ func (c *Conn) Write(b []byte) (n int, err error) {
}
}
if c.splitRecord {
_, err = c.tcpConn.Write(buffer.Bytes())
_, err = c.Conn.Write(buffer.Bytes())
if err != nil {
return
}