replace NewSmallBuffer with NewLocalBuffer

pull/219/head
v2ray 2016-07-23 11:55:57 +02:00
parent 84a7a2ad61
commit 3be5045dfc
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}