forked from quic-go/quic-go
use SO_RCVBUFFORCE to force receive buffer increase on Linux (#3804)
* Add ability to force change the receive buffer size using SO_RCVBUFFORCE in Linux * Fix imports * Update test * Add sys_conn_helper_not_linux * Rename file * ignore the error on SetReadBuffer * also run unit tests as root --------- Co-authored-by: Marten Seemann <martenseemann@gmail.com>
This commit is contained in:
5
sys_conn_helper_nonlinux.go
Normal file
5
sys_conn_helper_nonlinux.go
Normal file
@@ -0,0 +1,5 @@
|
||||
//go:build !linux
|
||||
|
||||
package quic
|
||||
|
||||
func forceSetReceiveBuffer(c interface{}, bytes int) error { return nil }
|
||||
Reference in New Issue
Block a user