Commit Graph

3118 Commits

Author SHA1 Message Date
Marten Seemann f3bdb4b53c switch from github.com/libp2p/go-libp2p-yamux to p2p/muxer/yamux 2022-04-22 18:10:16 +01:00
Marten Seemann 24e313b2a3 move go-lipbp2-yamux here 2022-04-22 18:04:42 +01:00
Marten Seemann 5151d4b4fa
Merge pull request #1424 from libp2p/merge-quic
move go-libp2p-quic-transport here
2022-04-22 17:59:23 +01:00
Marten Seemann 2b69671cb9
remove flaky TestTcpSimultaneousConnect (#1425) 2022-04-22 09:19:32 -07:00
Marten Seemann 4810afb293 switch from github.com/libp2p/go-libp2p-quic-transport to p2p/transport/quic 2022-04-22 16:34:30 +01:00
Marten Seemann 7ff834c912 move go-libp2p-quic-transport here 2022-04-22 16:28:02 +01:00
Marten Seemann 7d50e43d02
Merge pull request #1422 from libp2p/merge-websocket
move go-ws-transport here
2022-04-22 16:27:11 +01:00
Marten Seemann 9aab068808
update go-multistream, stop using deprecated NegotiateLazy (#1417)
* update go-multistream, stop using deprecated NegotiateLazy

* remove mock net test case TestStreamsStress
2022-04-22 07:57:23 -07:00
Marten Seemann 37f58509c0
fix flaky TestResourceManagerAcceptStream test (#1420) 2022-04-22 07:51:26 -07:00
Marten Seemann 690a16ccbe switch from github.com/libp2p/go-ws-transport to p2p/transport/websocket 2022-04-22 15:49:01 +01:00
Marten Seemann c32e485828 move go-ws-transport here 2022-04-22 15:47:29 +01:00
Marten Seemann e28b91aa2b
Merge pull request #1418 from libp2p/merge-tcp
move go-tcp-transport here
2022-04-22 15:40:50 +01:00
Marten Seemann dfc3a3f24a switch from github.com/libp2p/go-tcp-transport to p2p/transport/tcp 2022-04-22 14:48:25 +01:00
Marten Seemann e2ceabfc5d move go-tcp-transport here 2022-04-22 14:20:42 +01:00
Marten Seemann 456b36f8fa
Merge pull request #1414 from libp2p/merge-swarm
move the go-libp2p-swarm here
2022-04-22 12:20:01 +01:00
Marten Seemann 7505efce70
reduce flakiness of backoff cache tests (#1415) 2022-04-21 09:45:16 -07:00
Marten Seemann 3effab121a switch from github.com/libp2p/go-libp2p-swarm to p2p/net/swarm 2022-04-21 13:35:04 +01:00
Marten Seemann 32027b4824 move go-lipbp2-swarm here 2022-04-21 13:08:14 +01:00
Marten Seemann 43798a9633
Merge pull request #1411 from libp2p/blankhost
move the go-libp2p-blankhost here
2022-04-19 17:24:59 +01:00
Marten Seemann fc2c34e045 switch from github.com/libp2p/go-libp2p-blankhost to p2p/host/blank 2022-04-19 14:41:06 +01:00
Marten Seemann f0d63ef033 move the go-libp2p-blankhost here 2022-04-19 14:34:03 +01:00
Marten Seemann fb9663e8aa
update go-libp2p to v0.19.0 in examples (#1409) 2022-04-19 05:34:27 -07:00
Marten Seemann 0d51d87076
release v0.19.0 (#1408) 2022-04-19 05:02:53 -07:00
Marten Seemann 50756b301d
chore: update dependencies (#1407) 2022-04-19 04:39:54 -07:00
Andrew Gillis 7a7eb8ba32
Close resource manager when host closes (#1343)
When a host is closed, it should close its resource manager.  Otherwise, goroutines are leaked.

Generally this is not a problem when a host exists for the life of a program, but can be a problem if hosts are created and closed.
2022-04-18 14:38:08 -07:00
Marten Seemann 19b4545ccc
fix flaky reconnect test (#1406)
* don't run the reconnect test using TCP on OSX

Due to https://github.com/golang/go/issues/50254.

* don't check the error return value when closing stream in reconnect test
2022-04-18 22:22:18 +01:00
Elena Frank fc2174c883
redirect to libp2p/specs for general libp2p ideas (#1388)
* redirect to libp2p/specs for general libp2p ideas

* re-add referral to discussion forum

* Upper case "Go"

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2022-04-18 13:59:05 -07:00
Marten Seemann 202fcee612
make sure to not oversubscribe to relays (#1404) 2022-04-18 13:22:33 -07:00
Marten Seemann 865c007a1a
rewrite the reconnect test (#1399)
The old test was way too complicated.
2022-04-18 13:22:00 -07:00
Marten Seemann 59ea27eb7c
don't try to reconnect to already connected relays (#1401) 2022-04-18 04:41:55 -07:00
Marten Seemann bc02323752
reduce flakiness of AutoRelay TestBackoff test (#1400) 2022-04-16 10:31:04 -07:00
Marten Seemann 0e72b4832b
Merge pull request #1396 from libp2p/autorelay-v1-handling
improve AutoRelay v1 handling
2022-04-14 18:30:12 +01:00
Marten Seemann ca73928bfc disable circuit v1 support by default, add option to reenable it 2022-04-14 17:58:15 +01:00
Marten Seemann 23984886c6 improve handling of v1 relays in autorelay 2022-04-14 17:15:57 +01:00
Marten Seemann 4dde7214bb
remove note about gx from README (#1385) 2022-04-14 08:34:25 -07:00
Marten Seemann e8a2c74b83
chore: update transport dependencies (#1387) 2022-04-11 11:31:04 -07:00
web3-bot 38c8195999
sync: update CI config files (#1372)
* bump go.mod to Go 1.17 and run go fix

* update .github/workflows/automerge.yml

* update .github/workflows/go-test.yml

* update .github/workflows/go-check.yml

Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
2022-04-10 15:33:32 -07:00
Marten Seemann 2ad1d3d696
Merge pull request #1381 from libp2p/use-build-info
use the vcs information from ReadBuildInfo in Go 1.18
2022-04-10 22:53:52 +01:00
Marten Seemann 826090864f truncate the versoin hash after 9 characters, use -dirty suffix 2022-04-10 22:00:19 +01:00
Marten Seemann 1e87471c10 use the vcs information from ReadBuildInfo in Go 1.18 2022-04-10 18:46:08 +01:00
Marten Seemann d347c86e96
chore: update go-libp2p-quic-transport to v0.17.0 (#1380) 2022-04-10 10:45:22 -07:00
Marten Seemann b4064b4bf8
fix race condition in AutoRelay candidate handling (#1383) 2022-04-10 10:44:28 -07:00
Marten Seemann 1c6bfa2285
Merge pull request #1368 from libp2p/discover-v2-relays
implement relay v2 discovery
2022-04-10 12:35:43 +01:00
Marten Seemann 60097363b9
fix go vet error in proxy example (#1377) 2022-04-10 04:13:07 -07:00
Marten Seemann 46fc1e5082 fix race condition when the AutoRelay peerChan fills up 2022-04-10 12:12:48 +01:00
Piotr Galar 7ff8ea98be Merge pull request #317 from libp2p/web3-bot/sync
sync: update CI config files
2022-04-06 15:36:46 +02:00
galargh b53bbc51a4 fix: call to (*T).Fatal from a non-test goroutine 2022-04-06 14:51:34 +02:00
Marten Seemann 8d522620aa update quic-go to v0.27.0 (#264) 2022-04-06 05:48:57 -07:00
Marten Seemann 44350ef427 use exponential backoff, with jitter 2022-04-05 18:28:33 +01:00
Marten Seemann 220166ce78 make sure that all static relay servers are used 2022-04-05 18:24:49 +01:00