mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-01 06:34:03 -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