Commit graph

146 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
Gaukas Wang
7c77243b04
upstream: sync to 0.39.1 2023-10-26 22:47:22 -06:00
Marten Seemann
9b82196578
make the logging.Tracer and logging.ConnectionTracer a struct (#4082) 2023-09-16 04:58:51 -07:00
Gaukas Wang
9d3fe2aa07
new: support variable length quic frame padding (#10)
Add variable length QUIC frame padding support. Refactor how QUIC frames are defined in a QUIC Spec. Update documentation and examples. Added Chrome and Firefox parrots.

Close #3.
2023-08-05 22:47:08 -06:00
Gaukas Wang
0d323c5cb0
fix: broken example
Fix old broken examples which does not really mimic Firefox. Now it looks perfectly like Firefox! (only the first packet)
2023-08-05 01:21:59 -06:00
Gaukas Wang
95575f5fe7
break: update repo url [ci skip]
uTLS is not yet bumped to the new version, so this commit breaks the dependencies relationship by getting rid of the local replace.
2023-08-03 18:58:52 -06:00
Gaukas Wang
ea40752ca3
new: uquic 2023-08-02 15:38:16 -06:00
Gaukas Wang
20e2a487b8
wip: implement InitialSpec type (1/n)
- TransportParameters are now set as a part of ClientHelloSpecs
- Removes transportparameters package and uses tls.TransportParameters
2023-07-30 20:01:07 -06:00
Gaukas Wang
8463016cbc
impl: cleaning up some debug flag/symbol 2023-07-29 23:53:01 -06:00
Gaukas Wang
8a3397d0ae
impl: example for uquic 2023-07-29 23:47:19 -06:00
Gaukas Wang
fca46117e4
impl: uquic with utls 2023-07-29 23:45:16 -06:00
Marten Seemann
07ad2cbee2 remove Tracer from Config, put ConnectionTracer constructor there 2023-05-02 15:56:49 +02:00
Marten Seemann
aee7706d5d clean up dial functions
* add a context to all Dial functions
* remove the explicit Dial{*}Context functions
2023-05-01 13:59:54 +02: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
498475fa60
update golangci-lint action to v3, golangci-lint to v1.48.0 (#3499)
* run gofmt -s -w

* stop using the deprecated io/ioutil package

* update golangci-lint action to v3, golangci-lint to v1.48.0
2022-08-10 09:50:48 -07:00
Ivan Trubach
0ec8ee3cff
do not embed http.Server in http3.Server (#3397)
This change removes the embedded http.Server struct from http3.Server.
It slightly changes some error behavior, in particular, it mandates
TLSConfig for methods that create QUIC listeners.

Before this change, only Addr, TLSConfig, Handler and MaxHeaderBytes
options were used from the http.Server. These are now defined directly
in http3.Server with an improved documentation.
2022-05-20 02:53:23 -07:00
Marten Seemann
4b17343631 rename the session to connection 2022-03-27 12:50:14 +01:00
Song Zhu
b998c58496 fix log info error 2021-09-05 17:22:21 +08:00
市川恭佑 (ebi)
f767474977
Remove a redundant error checking condition 2021-06-24 17:20:14 +09:00
Marten Seemann
02b700804f remove support for quic-trace 2020-12-05 23:13:45 +07:00
Marten Seemann
eb53fdfdb3 fix setting of http.Handler in the example server 2020-11-23 11:08:26 +07:00
Marten Seemann
ee24d3899e simplify the Tracer interface by combining the TracerFor... methods 2020-07-11 13:22:52 +07:00
Marten Seemann
ac606222e0 replace the GetLogWriter quic.Config option by a Tracer interface 2020-07-01 16:57:03 +07:00
Marten Seemann
3e8c3cafc1 make the buffered qlog writer used in interop flush before closing 2020-03-19 12:58:56 +07:00
Marten Seemann
86e9ab8f20 use buffered qlog writers in example client and server, and interop 2020-03-18 12:34:14 +07:00
Marten Seemann
d6e4b100e8 fix keylog creation in the example client 2020-02-12 15:38:50 +07:00
Marten Seemann
b1a3e7a00b add a -qlog flag to the example client and server 2020-02-12 10:42:38 +07:00
Marten Seemann
b412ed6d30 add a command line option to the example client to export a key log file 2020-02-11 13:22:11 +07:00
Marten Seemann
2ba4617463 use log.Fatal() instead of panic() in example client and server 2020-01-08 15:15:52 +07:00
Marten Seemann
07dcbc8496 remove the testserver package 2019-11-25 12:54:58 +07:00
Marten Seemann
4febf95c0b fix certificate check in the example client 2019-11-07 10:29:55 +07:00
Marten Seemann
84c6a60771 make example server conform with the GET /xxx format used for interop 2019-08-02 11:27:32 +07:00
Marten Seemann
58ef419869 fix the /dynamic endpoint on the example server 2019-07-13 17:46:36 +07:00
Marten Seemann
2b8cece60a add a context to Session.Open{Uni}StreamSync 2019-06-22 19:37:21 +08:00
Marten Seemann
5550ba2c3b add a context to Session.Accept{Uni}Stream 2019-06-22 19:37:11 +08:00
Marten Seemann
12bce1caaa add a context to Listener.Accept 2019-06-22 19:36:52 +08:00
Marten Seemann
73f83ca4bb add a tracing option to the example server 2019-06-20 22:58:01 +08:00
Marten Seemann
375b609610 fix ALPN in echo example 2019-06-07 16:27:37 +08:00
Marten Seemann
27a226980c
Merge pull request #1920 from lucas-clemente/insecure-client
add a flag to skip certificate verification to the example client
2019-05-21 17:57:45 +01:00
Marten Seemann
f2289c8903 add a flag to skip certificate verification to the example client 2019-05-21 15:43:08 +01:00
Marten Seemann
3e9ffe9e28 add an HTTP endpoint to output arbitrary length data to example server 2019-05-21 15:38:50 +01:00
Marten Seemann
4f6d0e651a implement HTTP/3 2019-04-11 09:06:10 +09:00
Marten Seemann
f6357dc858 use the self-signed certificate for the example server and client 2018-12-13 14:42:25 +06:30
Marten Seemann
4abcce6408 use a self-signed certificate for integration tests 2018-12-11 14:24:12 +06:30
Marten Seemann
3266e36811 drop support for gQUIC 2018-10-30 10:20:39 +07:00
Marten Seemann
69d3929ae0 add a quiet flag to the example client 2018-10-01 19:33:06 -07:00
Lucas Clemente
70360241da Update certs 2018-09-08 11:22:03 +02:00
Lucas Clemente
7a566d9f28 Update certs 2018-06-09 11:27:13 +02:00
Marten Seemann
948eef3e42 create a logger interface and use it everywhere 2018-04-04 13:03:28 +07:00
Lucas Clemente
182faeec47 Update certs 2018-03-13 19:04:32 +01:00