mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-23 16:36:02 +00:00
replace NewSmallBuffer with NewLocalBuffer
This commit is contained in:
@@ -31,5 +31,5 @@ Content-Length: 0
|
||||
)
|
||||
|
||||
func (this *HTTPResponse) WriteTo(writer v2io.Writer) {
|
||||
writer.Write(alloc.NewSmallBuffer().Clear().AppendString(http403response))
|
||||
writer.Write(alloc.NewLocalBuffer(512).Clear().AppendString(http403response))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user