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.

貢獻者指南