netpoll icon indicating copy to clipboard operation
netpoll copied to clipboard

flush函数中调用sendmsg函数的参数为什么是false && c.supportZeroCopy?

Open XiaoYi-byte opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug 根目录下的connection_impl.go中的flush函数中调用sendmsg函数的参数为什么是false && c.supportZeroCopy?这里不是显然是false吗?在sendmsg函数也没有使用这个参数,是目前还没有实现这一部分吗?

Screenshots image

Desktop (please complete the following information):

  • Version [v0.6.0]

XiaoYi-byte avatar Apr 01 '24 14:04 XiaoYi-byte

@XiaoYi-byte 因为依赖内核支持。这不是一个通用性的 feature ,所以相当于直接disable了这个

joway avatar Apr 02 '24 03:04 joway