Marten Seemann
2ac3b16df4
improve connection timer logic ( #5339 )
...
* simplify timer resets
As of Go 1.23, timer resets work as expected, and there’s no need to
read a (potentially) stale value from the timer channel.
* don't save the last time
* track if blocked
* remove unblock after sendingScheduled
* fix unblock logic when sending
* don't use fallthrough
* track the blocking mode
* remove stale comment
2025-09-24 10:43:01 +02:00
Marten Seemann
adc13be540
implement a memory-optimized time.Time replacement ( #5334 )
...
* implement a memory-optimized time.Time replacement
* monotime: properly handle systems with bad timer resolution (Windows)
* monotime: simplify Since
2025-09-14 08:12:10 +02:00
Marten Seemann
6033030017
proxy: add source and destination address to delay and drop callbacks ( #4964 )
2025-02-22 12:21:40 +01:00
Marten Seemann
f20b823154
proxy: optimize packet sorting logic ( #4923 )
2025-01-26 05:27:12 +01:00
Marten Seemann
3e87ea3f50
proxy: add function to simulate NAT rebinding ( #4922 )
2025-01-26 05:03:08 +01:00
Marten Seemann
79bae396b4
proxy: rename to Proxy, refactor initialization ( #4921 )
...
* proxy: rename to Proxy, refactor initialization
* improve documentation
2025-01-25 11:13:33 +01:00
Marten Seemann
f5145eb627
proxy: remove QuicProxy.LocalPort method ( #4920 )
2025-01-25 04:18:22 +01:00
Marten Seemann
f5516715eb
quicproxy: increase UDP send and receive buffer sizes ( #3813 )
2023-05-28 17:08:17 +03:00
Marten Seemann
58cedf7a4f
rename module, adjust import paths to quic-go/quic-go ( #3680 )
2023-01-21 19:53:57 -08:00
Marten Seemann
82ac6dcf6d
rename MaxReceivePacketSize to MaxPacketBufferSize
...
We use the same buffer size for sending and receiving packets.
2021-03-03 12:00:14 +08:00
Marten Seemann
0baf16ea4e
rewrite the proxy to avoid packet reordering
2020-06-20 15:46:06 +07:00
Marten Seemann
5479837a01
stop delay timers in the proxy when it is closed
2019-07-02 12:34:43 +07:00
Marten Seemann
7827cd61bc
pass the raw packet to the Drop- and Delay callbacks of the proxy
2019-07-01 14:46:58 +07:00
Marten Seemann
2367ab35bb
remove unneeded version parameter from proxy constructor
2019-01-05 12:36:52 +07:00
Marten Seemann
6b82e46e0c
use the prefix logger for client, server and proxy
2018-05-29 20:52:54 +08:00
Marten Seemann
948eef3e42
create a logger interface and use it everywhere
2018-04-04 13:03:28 +07:00
Marten Seemann
a588b9e140
make golint happier
2018-03-02 16:58:19 +07:00
Marten Seemann
03171bc725
remove duplicate log statement in the proxy
2018-02-24 10:19:53 +08:00
Marten Seemann
4e20ae142c
Merge pull request #1190 from lucas-clemente/proxy-closing
...
properly close the UDP proxy used in the integration tests
2018-02-22 19:59:13 +08:00
Marten Seemann
b1095d0661
properly close the UDP proxy used in the integration tests
2018-02-22 19:13:07 +08:00
Marten Seemann
e181f92917
add some debug logging for the proxy
2018-02-22 17:55:48 +08:00
Marten Seemann
5504c47ca5
reduce the maximum packet size of sent packets to 1200 bytes
...
This is the value the IETF draft mandates for implementations that don't
do PMTUD.
2017-10-18 14:14:49 +07:00
Marten Seemann
142abb08b3
refactor drop tests, add test with dropped packets in both directions
2017-09-12 15:36:49 +07:00
Marten Seemann
3cc34a3ae7
don't parse the Public Header in the proxy
2017-09-12 14:42:27 +07:00
Marten Seemann
7ba9fb0f8b
use a kernel determined server address in proxy tests
...
Now we can execute the proxy tests in parallel without running into
"address already in use" errors.
2017-09-12 14:38:37 +07:00
Marten Seemann
11a31cfdac
fix version dependent Public Header parsing in the proxy
2017-09-10 23:26:14 +02:00
Marten Seemann
f1ada87dcf
make the protocol package internal
2017-08-30 00:19:44 +07:00
Marten Seemann
ed522ebbce
make wire an internal package
2017-08-29 23:51:56 +07:00
Marten Seemann
1794636220
more the PublicHeader to the wire package
2017-08-29 23:45:38 +07:00
Marten Seemann
dd0daaaf1e
implement version-dependent parsing of the Public Header
2017-08-23 16:00:45 +07:00
Lucas Clemente
56cbce35b3
Move proxy/ to new tools/ folder
2017-08-18 12:06:37 +02:00