Commit Graph

9 Commits

Author SHA1 Message Date
Sukun
f401a73d27 transport: send stateless reset packets from a single Go routine (#3842)
* don't spawn new go routine for every stateless packet

* pass *receivedPacket around
2023-05-20 00:53:18 -07:00
Marten Seemann
2ab17e20af transport: increase the UDP send buffer size as well 2023-05-08 14:35:22 +03:00
Marten Seemann
1cd78f131f move UDP receive buffer size manipulation to a separate file 2023-05-08 12:50:19 +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
07ad2cbee2 remove Tracer from Config, put ConnectionTracer constructor there 2023-05-02 15:56:49 +02:00
Marten Seemann
5544f0f9a1 simplify connection handling for the client 2023-05-02 15:56:49 +02:00
Marten Seemann
ba942715db remove ConnectionIDLength and ConnectionIDGenerator from the Config 2023-05-02 15:56:49 +02:00
Marten Seemann
b79b532b04 remove StatelessResetKey from the Config, it's now on the Transport 2023-05-02 15:56:49 +02:00
Marten Seemann
8189e75be6 implement the Transport 2023-05-02 15:56:48 +02:00