mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
Fix: CounterConnection with ReadV/WriteV (#720)
Co-authored-by: JimhHan <50871214+JimhHan@users.noreply.github.com>
This commit is contained in:
parent
f2cb13a8ec
commit
24b637cd5e
53 changed files with 247 additions and 128 deletions
|
@ -151,7 +151,7 @@ func (w *HeaderWriter) Write(writer io.Writer) error {
|
|||
if w.header == nil {
|
||||
return nil
|
||||
}
|
||||
err := buf.WriteAllBytes(writer, w.header.Bytes())
|
||||
err := buf.WriteAllBytes(writer, w.header.Bytes(), nil)
|
||||
w.header.Release()
|
||||
w.header = nil
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue