Fix TLS record fragment

This commit is contained in:
Restia-Ashbell
2025-05-20 18:24:50 +08:00
committed by 世界
parent 28f29b8b01
commit 2e9cfd8198
2 changed files with 4 additions and 1 deletions
+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
}