Fix tlsfragment fallback writeAndWaitAck

This commit is contained in:
dyhkwong
2025-08-20 02:54:47 +08:00
committed by 世界
parent f1dd0dba78
commit ee02532ab5
3 changed files with 10 additions and 0 deletions

View File

@@ -109,6 +109,9 @@ func (c *Conn) Write(b []byte) (n int, err error) {
if err != nil {
return
}
if i != len(splitIndexes) {
time.Sleep(c.fallbackDelay)
}
}
}
}