Commit Graph

3118 Commits

Author SHA1 Message Date
Marten Seemann ba15ca1e6d pass the PeerScope to yamux (satifiying its MemoryManger interface) (#46) 2022-01-17 03:34:24 -08:00
Marten Seemann 56643040e1
Merge pull request #1291 from libp2p/discovery
move go-libp2p-discovery here
2022-01-16 22:04:35 -08:00
Marten Seemann 4269c5f7b2 stop using go-libp2p-discovery 2022-01-16 15:32:30 +04:00
vyzo b2736df56f Merge pull request #101 from libp2p/fix/non-default-emergency-trimming
make emergency trimming optional, disabled by default
2022-01-15 00:20:25 +02:00
vyzo ee3785b5c0 make emergency trimming optional, disabled by default 2022-01-15 00:15:13 +02:00
Marten Seemann 4400328a58
Merge pull request #1294 from libp2p/speedup-identify-tests
speed up identify tests
2022-01-10 08:17:48 -08:00
Marten Seemann d50ba5f554
Merge pull request #1293 from libp2p/identify
don't close the connection when opening the identify stream fails
2022-01-10 08:16:30 -08:00
Marten Seemann 978cc42d1e speed up TestLargeIdentifyMessage 2022-01-10 18:04:50 +04:00
Marten Seemann 49d63a00a9 don't repeat the TestIDService test 3 times 2022-01-10 18:03:33 +04:00
Marten Seemann f0342d5b6e simplify and speed up TestIDService 2022-01-10 18:03:32 +04:00
Marten Seemann 8dd919d26a reduce Eventually timeouts in identify tests 2022-01-10 17:43:35 +04:00
Marten Seemann 1485100f0e don't close the connection when opening the identify stream fails 2022-01-10 16:37:48 +04:00
Marten Seemann bfae1f9b77 simplify error handling when running identify
No functional change expected.
2022-01-10 16:35:44 +04:00
Marten Seemann 4280c73cae
use the netutil package that was moved to go-libp2p-testing (#1263) 2022-01-10 01:14:15 -08:00
Marten Seemann e5f9129ed0
Merge pull request #1272 from libp2p/autorelay-test
speed up the autorelay test, fix flaky TestAutoRelay test
2022-01-09 23:57:07 -08:00
Marten Seemann 1beb093cb8 fix flaky TestAutoRelay test 2022-01-10 11:37:53 +04:00
Marten Seemann 6147eb1506
Merge pull request #1292 from libp2p/remove-replace-in-examples
remove replace directives in the examples go.mod files
2022-01-09 23:18:36 -08:00
Marten Seemann 47e363fcb1 add a release checklist item to update the examples 2022-01-10 11:00:11 +04:00
Marten Seemann b42be24d4f remove replace directives in the examples go.mod files 2022-01-10 10:58:32 +04:00
Marten Seemann c126f37f4f speed up the autorelay test 2022-01-10 10:39:07 +04:00
Marten Seemann d5f4910af7 rename p2p/discovery/routing package, run go mod tidy 2022-01-09 22:17:04 +04:00
Marten Seemann b5056a84d2 Merge remote-tracking branch 'p2p/discovery/routing/master' into discovery-routing 2022-01-09 22:11:26 +04:00
Marten Seemann 5039dc08e9 rename p2p/discovery/util package 2022-01-09 22:10:58 +04:00
Marten Seemann 1da627d2f2 Merge remote-tracking branch 'p2p/discovery/util/master' into discovery-util 2022-01-09 22:10:00 +04:00
Marten Seemann 7c0be24a4c rename p2p/discovery/backoff package, run go mod tidy 2022-01-09 21:37:28 +04:00
Marten Seemann d3243b522b Merge remote-tracking branch 'p2p/discovery/backoff/master' into discovery 2022-01-09 21:35:36 +04:00
Marten Seemann f7b6063795
fix flaky TestStreamsStress test (#1288) 2022-01-09 04:31:41 -08:00
Marten Seemann bfde26dd30
chore: update go-log to v2.5.0 (#1286) 2022-01-09 01:40:45 -08:00
Marten Seemann c9d964e7a7 Merge pull request #252 from libp2p/optimize-connection-close
don't start a Go routine for every connection dialed
2022-01-08 03:29:29 -08:00
Marten Seemann 445a40e4de don't start a Go routine for every connection dialed
In the swarm, we're calling Close for every connection before it is garbage
collected. We therefore don't need to start a Go routine here just to see when
a connection is closed.
We now also increment the reuse counter every time a connection is dialed. This
simplifies closing the connection.
2022-01-08 15:22:59 +04:00
Marten Seemann 501be179ed
Merge pull request #1271 from libp2p/swarm-dial-timeout
add an option for the swarm dial timeout
2022-01-04 02:05:29 -08:00
Marten Seemann d24f4f20f8 add an option for the swarm dial timeout 2022-01-04 13:37:21 +04:00
Marten Seemann 9add9a328d
Merge pull request #1277 from libp2p/upgrader-interface
use the transport.Upgrader interface
2022-01-04 01:35:44 -08:00
Marten Seemann 0f0cc4e4a0 use the transport.Upgrader interface 2022-01-04 13:20:59 +04:00
Marten Seemann 08a1ca5906 Merge pull request #309 from libp2p/upgrader-interface
use the transport.Upgrader interface
2022-01-04 01:12:27 -08:00
Marten Seemann 74f9203514 use the transport.Upgrader interface 2022-01-04 13:03:53 +04:00
Marten Seemann 2e12799098 Merge pull request #110 from libp2p/upgrader-interface
use the transport.Upgrader interface
2022-01-04 00:55:36 -08:00
Marten Seemann 69d3c45468 Merge pull request #111 from libp2p/upgrader-interface
use the transport.Upgrader interface
2022-01-04 00:55:03 -08:00
Marten Seemann c747de37d3 use the transport.Upgrader interface 2022-01-04 12:49:04 +04:00
Marten Seemann 081817c978 use the transport.Upgrader interface 2022-01-04 12:48:32 +04:00
Ettore Di Giacinto b4d2376986
fix typo in options.go (#1274)
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-01-03 23:15:24 -08:00
Marten Seemann 078c78fb47 remove Ginkgo suite 2022-01-04 10:54:02 +04:00
Marten Seemann 2a41315ba1 migrate the tracer tests away from Ginkgo 2022-01-04 10:54:02 +04:00
Marten Seemann 6a0fe7559c migrate the reuse tests away from Ginkgo 2022-01-04 10:54:01 +04:00
Marten Seemann 415b07df91 migrate the multiaddr tests away from Ginkgo 2022-01-03 18:30:29 +04:00
Marten Seemann 4b48046ab0 migrate the listener tests away from Ginkgo 2022-01-03 18:12:40 +04:00
Marten Seemann 591c57c59e use the quic.OOBCapablePacketConn in tests 2022-01-03 17:57:23 +04:00
Marten Seemann 7a9ac66fdc migrate the conn tests away from Ginkgo 2022-01-03 17:26:32 +04:00
Marten Seemann 0e7e78b7bf migrate the transport tests away from Ginkgo 2022-01-03 17:25:58 +04:00
Marten Seemann 8a63d30904 remove dependency on the go-libp2p-peerstore/addr package (#82) 2022-01-03 01:41:26 -08:00