Fix TLS record fragment
This commit is contained in:
1 parent
ed5b2f2997
commit
7cee76f9a6
2 files changed
+4
-1
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user