Commit Graph

18 Commits

Author SHA1 Message Date
Marten Seemann
92e7eca419 restore previously deleted TestStreamsMapConcurrent test (#5301) 2025-08-24 06:18:22 +02:00
Marten Seemann
258d6b1352 use synctest to make streams map tests fully deterministic (#5296)
* use synctest to make streams map tests fully deterministic

* ignore synctest helper package for code coverage
2025-08-23 18:11:59 +02:00
Marten Seemann
a2926a3603 implement sender side behavior for RESET_STREAM_AT (#5242)
* improve existing send stream test

* implement sender side behavior for RESET_STREAM_AT

* refactor send stream cancelation and shutdown error handling

* correctly deal with 0-RTT corner case
2025-06-28 05:44:47 +02:00
Marten Seemann
1b07674b19 handle stream-related frame in the streams map (#5212)
* handle stream-related frame in the streams map

* remove stream manager interface and mock
2025-06-09 10:00:46 +02:00
Marten Seemann
41fce88a63 simplify stream ID handling in the outgoing streams map (#5209)
No functional change expected.
2025-06-08 14:27:14 +02:00
Marten Seemann
576aa1747f simplify stream ID handling in the incoming streams map (#5207)
* simplify stream ID handling in the incoming streams map

No functional change expected.

* protocol: move stream ID constant definition
2025-06-08 12:25:36 +02:00
Marten Seemann
a1aa369464 don't use net.Errors for streams map error (#5060) 2025-04-19 16:16:47 +02:00
Marten Seemann
0c1db893f9 fix flaky TestStreamsMapOutgoingRandomizedOpenStreamSync (#5056) 2025-04-19 12:55:58 +02:00
Marten Seemann
c60438c528 migrate the outgoing streams map tests away from Ginkgo (#5033) 2025-04-19 08:12:35 +02:00
Marten Seemann
f4c478b627 fix potential deadlock when OpenStreamSync context is cancelled (#5037)
* fix potential deadlock when OpenStreamSync context is cancelled

* fix race condition when closing
2025-04-19 07:48:18 +02:00
Marten Seemann
af9fa7a555 queue stream-related control frames in the respective stream (#4610)
* use a separate method for queueing control frames from the streams map

* queue stream-related control frames in the respective stream
2024-08-04 15:42:56 -07:00
Marten Seemann
b52c33939d introduce a StreamLimitReachedError for Connection.Open{Uni}Stream (#4579)
Using a concrete type is preferable to relying on interpreting the
return values from net.Error.Timeout and net.Error.Temporary, especially
since the latter has been deprecated since Go 1.18.
2024-06-28 06:58:28 -07:00
Marten Seemann
34c4d89e8b fix flaky outgoing streams map test (#4283) 2024-01-28 21:52:32 -08:00
Marten Seemann
2797f85fc0 switch from unmaintained golang/mock to go.uber.org/mock (#4050) 2023-08-28 02:23:55 -07:00
Marten Seemann
0662afba63 stop using math/rand.Seed and Read in tests, bump go.mod version to 1.20 (#3936) 2023-07-01 11:29:41 -07: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
870fbe7ab0 migrate to Ginkgo v2 2022-10-11 16:38:44 +04:00
Marten Seemann
bebff462c8 use a generic streams map for outgoing streams (#3488) 2022-08-11 05:14:52 -07:00