Commit graph

14 commits

Author SHA1 Message Date
Gaukas Wang
4973374ea5
sync: quic-go 0.42.0
Signed-off-by: Gaukas Wang <i@gaukas.wang>
2024-04-23 22:34:55 -06:00
Marten Seemann
f919473598 add support for writing the ECN control message (Linux, macOS) 2023-09-11 20:31:49 +07:00
Jean-Francois Giorgi
8d91ad9fcd
move QUIC_GO_DISABLE_GSO check out of init (#4041)
* move QUIC_GO_DISABLE_GSO test out of init().

* Update sys_conn_helper_linux.go

---------

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2023-08-22 20:12:08 -07:00
Marten Seemann
5200f27dcf add QUIC_GO_DISABLE_GSO env to disable GSO 2023-08-16 22:09:30 +07:00
Marten Seemann
3a3169551b detect kernel GSO support 2023-08-16 22:09:30 +07:00
Marten Seemann
4122eb7a7d disable GSO if sending fails for a particular remote address 2023-08-16 22:09:29 +07:00
Marten Seemann
fd0c9bbf9e
check the length of IPv4 packet info control messages, add log message (#3920) 2023-07-01 12:03:00 -07:00
Marten Seemann
d361637419
simplify syscall consts used for requesting / parsing IPv4 packet info (#3919) 2023-06-26 01:39:47 -07:00
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)