valyala/fasthttp

client: set response body as net.Buffers

Open

#1,161 创建于 2021年11月15日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Go (21,741 star) (1,755 fork)batch import
enhancementhelp wanted

描述

The net.Buffers internally uses writev syscall so we can write multiple chunks without concatenation in buffer. This significantly improves performance and I wondered why fasthttp doesn't use it.

贡献者指南