mirror of https://github.com/v2ray/v2ray-core
replace NewSmallBuffer with NewLocalBuffer
parent
84a7a2ad61
commit
3be5045dfc
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue