Commit graph

6 commits

Author SHA1 Message Date
Marten Seemann
4b0ca320a3
use unix.IPV6_RECVPKTINFO and unix.IPV6_PKTINFO on all platforms (#3918) 2023-06-25 20:08:08 +02:00
Marten Seemann
74be4d2755 add a function to set the UDP send buffer size
This function is the equivalent to the function used to set the UDP
receive buffer size. It's so similar that code generation is used to
make a copy of the setReceiveBuffer function.
2023-05-08 14:35:21 +03:00
Marten Seemann
600502ab06 simplify connection handling when setting the receive buffer 2023-05-08 14:14:54 +03:00
Marco Munizaga
843b633434
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>
2023-05-08 02:40:47 -07:00
Marten Seemann
ea9de26ed5
drop support for Go 1.16 and 1.17 (#3482) 2022-08-10 03:42:14 -07:00
Marten Seemann
3126062aa7 rename files dealing with low level conns to sys_conn 2022-03-27 12:28:41 +01:00
Renamed from conn_helper_linux.go (Browse further)