gr1ffon
4ba42a8456
replace repo
2025-11-14 04:04:40 +03:00
gr1ffon
7b3ed68ceb
make some fields public
2025-11-14 03:40:56 +03:00
Marten Seemann
5e5100b40c
http3: add the qlog event schema to trace header ( #5383 )
2025-10-15 06:02:05 +02:00
Marten Seemann
378d867241
http3: qlog reserved, unsupported and unknown frames ( #5381 )
2025-10-12 14:11:54 +02:00
Marten Seemann
b7d987f5e4
http3: qlog the frame length and payload length of parsed frames ( #5380 )
2025-10-12 10:58:32 +02:00
Marten Seemann
ce12204bc3
http3: qlog sent and received SETTINGS frames ( #5379 )
...
* http3: implement qlog serialization for SETTINGS frames
* http3: qlog sent and received SETTINGS frames
2025-10-12 07:16:37 +02:00
Marten Seemann
cd4b1307db
http3: move qlogging of frames into the frame parser ( #5378 )
2025-10-12 06:40:24 +02:00
Marten Seemann
ed194a0c5e
http3: qlog sent and received DATAGRAMs ( #5375 )
2025-10-11 14:14:06 +02:00
Marten Seemann
f330d0e257
http3: qlog sent and received GOAWAY frames ( #5376 )
2025-10-11 13:20:01 +02:00
Marten Seemann
7796175c64
http3: add basic client-side qlog support ( #5374 )
2025-10-11 10:13:49 +02:00
Marten Seemann
53d246840d
http3: fix qlog encoding of frame_parsed and frame_created events ( #5372 )
2025-10-11 09:48:05 +02:00
Marten Seemann
ca05442ab9
http3: add basic server-side qlog support ( #5367 )
...
* add Conn.QlogTrace
* http3: add basic qlog support on the server side
2025-10-10 12:35:58 +02:00
Glonee
0ae8c03816
http3: don't allow usage of closed Transport ( #5324 )
...
* do not allow use a closed transport
* update tests
* add test
* Update http3/transport.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com >
* unit tests
* update test
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com >
2025-09-07 12:52:25 +02:00
Glonee
483d257336
http3: fix race in concurrent Transport.RoundTrip calls ( #5323 )
...
* http3: fix data race in Transport
* reset init Once
2025-09-07 05:25:00 +02:00
Marten Seemann
66e5c5ebaa
replace interface{} with any ( #5290 )
...
No functional change expected.
2025-08-16 07:21:18 +02:00
Marten Seemann
fea19fc3ec
update to Go 1.25, drop Go 1.23, use go tool for gomock ( #5283 )
...
* update to Go 1.25, drop support for Go 1.23
* ci: update golangci-lint to v2.4.0
* use new go tool command for gomock / mockgen
* also update Go version used for oss-fuzz
2025-08-16 06:14:01 +02:00
WeidiDeng
f0042715d7
http3: fix documentation for Server.ServeListener ( #5282 )
2025-08-12 16:14:09 +02:00
Benjamin M. Schwartz
c7cf12703d
quicvarint: tolerate empty reads of the underlying io.Reader ( #5275 )
...
* Tolerate empty reads in `quicvarint.Read`
Currently, `quicvarint.Read` misinterprets an empty read (`n==0`)
as a single zero byte. While empty reads are "discouraged" in
the `io.Reader` interface, they do sometimes happen, especially
when using `io.Pipe()`.
This change tolerates empty reads, adds a corresponding unit test,
and also includes some additional test coverage related to empty
capsules
* minor test refactor
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com >
2025-08-05 08:05:52 +02:00
Robin Thellend
0a9c6ea4c8
http3: remove dependency on quic internal packages ( #5256 )
...
* Remove http3 dependency on quic internal packages
Remove the dependency on internal/protocol from the http3 package. This
makes it possible for a forked http3 to use the mainline quic-go
package.
* Address review comments
* Fix syntax
* Use broader pattern for http3 directory
* Copy internal/testdata
* Replace perspective with bool
* clone the supported version slice
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com >
2025-07-07 13:41:23 +02:00
Marten Seemann
61d2fa57ac
http3: fix flaky TestConnGoAwayFailures ( #5252 )
2025-06-28 20:28:07 +02:00
Marten Seemann
b9d934ff8b
http3: tighten checks for incorrect use of RequestStream ( #5231 )
...
The RequestStream is a low-level API that’s used by WebTransport,
CONNECT-UDP and CONNECT-IP. Methods on the RequestStream must be called
in a certain order, and we should detect misuse of the API.
2025-06-20 09:55:11 +02:00
Marten Seemann
7d5e0570c4
http3: avoid reinitilising the frame parser on the stream ( #5232 )
...
No functional change expected.
2025-06-20 07:34:03 +02:00
Marten Seemann
f27b056998
http3: remove deprecated RoundTripper ( #5230 )
2025-06-20 05:44:53 +02:00
Marten Seemann
66e2539b2e
http3: explicitly expose all method on the RequestStream ( #5216 )
2025-06-19 12:16:26 +02:00
Marten Seemann
f16ffc6d16
http3: add ClientConn.Context, CloseWithError and Conn ( #5219 )
2025-06-17 18:29:27 +02:00
Marten Seemann
39f6e120c0
http3: remove deprecated SingleDestinationRoundTripper type ( #5217 )
2025-06-09 13:46:53 +02:00
Marten Seemann
6c82ac07cf
http3: convert Connection interface to Conn struct ( #5204 )
2025-06-09 12:16:07 +02:00
Marten Seemann
5f3d617dec
convert Connection interface to Conn struct ( #5195 )
2025-06-09 11:51:46 +02:00
Marten Seemann
9580396fa1
http3: simplify connection closing in the frame parser ( #5196 )
...
No functional change expected.
2025-06-07 07:21:53 +02:00
Marten Seemann
08be0f73c0
ci: stop using Ginkgo test command ( #5194 )
...
* ci: stop using Ginkgo test command
* ci: remove integrationtest directory for unit tests
2025-06-02 04:38:05 +02:00
Marten Seemann
1169d97e81
convert ReceiveStream interface to a struct ( #5173 )
2025-06-01 06:08:18 +02:00
Marten Seemann
78e77bcfdb
convert SendStream to a struct ( #5172 )
2025-06-01 05:53:53 +02:00
Marten Seemann
eb656df2fe
convert Stream interface to a struct ( #5149 )
2025-06-01 05:40:05 +02:00
Marten Seemann
eb427b599e
http3: fix flaky TestConnControlStreamFailure ( #5188 )
2025-05-31 10:21:17 +02:00
Marten Seemann
f8a1711ce7
http3: fix flaky TestServerRequestHeaderTooLarge ( #5186 )
2025-05-31 09:58:20 +02:00
Marten Seemann
a39928c556
http3: fix flaky TestClientResponseValidation ( #5183 )
2025-05-31 09:48:45 +02:00
Marten Seemann
56ff2a58cc
http3: use actual QUIC connection in stream tests ( #5170 )
2025-05-30 06:47:53 +02:00
Marten Seemann
e539fc4e88
http3: fix flaky TestClientStreamHijacking ( #5169 )
2025-05-30 05:11:04 +02:00
Marten Seemann
e354463e64
http3: use actual QUIC connection in frames tests ( #5165 )
...
* http3: use actual QUIC connection in frames tests
* wait for handshake completion
2025-05-30 04:54:48 +02:00
Marten Seemann
9ef305508d
http3: use actual QUIC stream in state tracking stream tests ( #5166 )
...
* http3: use actual QUIC stream in state tracking stream tests
* avoid sleeps
2025-05-30 04:47:17 +02:00
Marten Seemann
d9528a5643
http3: use actual QUIC connection in transport tests ( #5164 )
2025-05-29 15:10:30 +02:00
Marten Seemann
4e81b28694
http3: use actual QUIC connection and stream in conn tests ( #5163 )
...
* http3: use actual QUIC connection and stream in conn tests
* add errror assertion
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-29 14:42:36 +02:00
Marten Seemann
77dff99007
http3: use actual QUIC connection and stream in client tests ( #5162 )
2025-05-29 13:06:36 +02:00
Marten Seemann
293d45da4b
http3: use actual QUIC connection and stream in server tests ( #5161 )
2025-05-29 11:06:09 +02:00
Marten Seemann
5c3af443c1
http3: simplify HTTP datagram handling ( #5156 )
2025-05-29 06:23:05 +02:00
Marten Seemann
0b834e6f46
http3: convert Stream from an interface to a struct ( #5154 )
2025-05-29 05:41:40 +02:00
Marten Seemann
2675d0845f
http3: convert RequestStream from an interface to a struct ( #5153 )
2025-05-29 05:08:39 +02:00
Marten Seemann
eb7b7df1db
http3: migrate the state tracking stream tests away from Ginkgo ( #5151 )
2025-05-24 05:07:17 +02:00
Marten Seemann
5e5d03cf8d
http3: migrate the stream tests away from Ginkgo ( #5150 )
2025-05-23 16:07:00 +02:00
Marten Seemann
04eab22893
http3: fix off-by-one error when processing the GOAWAY stream ID ( #5145 )
2025-05-20 08:43:33 +02:00