mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-18 10:29:08 -04:00
rewrite alloc.buffer
This commit is contained in:
@@ -35,7 +35,7 @@ func TestRequestSerialization(t *testing.T) {
|
||||
Port: v2net.Port(443),
|
||||
}
|
||||
|
||||
buffer := alloc.NewBuffer().Clear()
|
||||
buffer := alloc.NewBuffer()
|
||||
client := NewClientSession(protocol.DefaultIDHash)
|
||||
client.EncodeRequestHeader(expectedRequest, buffer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user