mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-10 06:08:41 +00:00
Glue mux meta with data in one frame for Datagram
This commit is contained in:
parent
e4a5344189
commit
c29af68a2f
2 changed files with 5 additions and 3 deletions
|
@ -90,7 +90,8 @@ func TestRegressionOutboundLeak(t *testing.T) {
|
|||
}
|
||||
|
||||
{
|
||||
b := buf.FromBytes([]byte("hello"))
|
||||
b := buf.New()
|
||||
b.Write([]byte("hello"))
|
||||
common.Must(muxClientDownlink.Writer.WriteMultiBuffer(buf.MultiBuffer{b}))
|
||||
}
|
||||
|
||||
|
@ -102,7 +103,8 @@ func TestRegressionOutboundLeak(t *testing.T) {
|
|||
}
|
||||
|
||||
{
|
||||
b := buf.FromBytes([]byte("world"))
|
||||
b := buf.New()
|
||||
b.Write([]byte("world"))
|
||||
common.Must(websiteUplink.Writer.WriteMultiBuffer(buf.MultiBuffer{b}))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue