Fix v2rayhttp upgrade leak

This commit is contained in:
世界
2026-07-03 12:10:45 +08:00
parent 25a600db24
commit 0f1763877c
3 changed files with 8 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ func (c *EarlyWebsocketConn) writeRequest(content []byte) error {
if len(lateData) > 0 {
_, err = conn.Write(lateData)
if err != nil {
conn.Close()
return err
}
}