* Error if RSA key is too big
* Update core/crypto/rsa_common.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* Update core/crypto/rsa_common.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* Fix rename
* Make this var again so the tests work
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* Update go.mod files
* Update to new quic-go API
* More renaming
* Add test back in
* Workaround quic-go#3947
* Fix transitive dep
* Use own pointer to packetConn
* Update to quic-go v0.36.2
* Remove workaround
* Embed quic.Transport
* Downgrade qtls-go1-20
* Rename ConnManager.metricsTracer to mt
* Close transport after test ends
* Close conn when transport closes
* Return better error
* Avoid conflicts with parallel tests
* Skip conn assert on windows
* Add metrics tracer back in
* Don't use tracers here
* Add comment to WriteTo
* Finish renaming conn -> transport where appropriate
* Back out unrelated change
* One more rename
* metrics: provide separate docker-compose files for OSX and Linux
* Update dashboards/README.md
Co-authored-by: Marco Munizaga <git@marcopolo.io>
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io>
* Snapshot rcmgr defaults and test that we keep consistent defaults
* Don't use autoscaled defaults since we can't predict the env these tests will run in
* Normalize for windows
* fix: in the swarm move Connectedness emit after releasing conns
go-libp2p-kad-dht now listen to both EvtPeerIdentificationCompleted and EvtPeerConnectednessChanged
and EvtPeerIdentificationCompleted calls .ConnsToPeer inorder to do some filtering.
However it happens that it deadlocks because if the swarm is trying to emit a EvtPeerConnectednessChanged
while the subscriber is trying to process an EvtPeerIdentificationCompleted, the subscriber is stuck on
s.conns.RLock() while the swarm wont release it before having sent EvtPeerConnectednessChanged.
Deadlock !
I havn't confirmed this fixes my bug given this takes time to reproduce, I'll startup a new experiment soon.
* Fix other deadlock and add a test
* Make test a little faster
* Bind on localhost
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io>
* Add test for lots of data and lots of streams
* Add some logs
* Close hosts
* Remove alloc measurement in many big pings
* Rename fake proto
* Skip windows and add comments
* fix typo
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* transport/webtransport: close the challenge stream
Once the challenge succeeded there is no reason to keep the challenge stream open, it will never be used again.
* webtransport: defer closing of challenge stream
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>