mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
fix rwcrb close
This commit is contained in:
parent
37f2f42ea0
commit
1da7fecbed
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func (pcw *packetConnWrapper) WriteTo(p []byte, addr net.Addr) (n int, err error
|
|||
}
|
||||
|
||||
func (pcw *packetConnWrapper) Close() error {
|
||||
return pcw.ReadWriteCloser.Close()
|
||||
return pcw.ReadWriteCloserPreservesBoundary.Close()
|
||||
}
|
||||
|
||||
func (pcw *packetConnWrapper) LocalAddr() net.Addr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue