Commit Graph

3411 Commits

Author SHA1 Message Date
Marten Seemann 8de2efdb5c
Merge pull request #1462 from libp2p/merge-noise
move go-libp2p-noise here
2022-04-27 11:55:50 +02:00
Marten Seemann 9f11ccf3c9
Merge pull request #1463 from libp2p/merge-upgrader
move go-libp2p-transport-upgrader here
2022-04-27 11:36:09 +02:00
Marten Seemann 04b43c81b9 noise: use golang.org/x/crypto/chacha20poly1305 instead of golang.org/x/crypto/poly1305 2022-04-27 11:07:08 +02:00
Marten Seemann 9dc18edc26 switch from github.com/libp2p/go-libp2p-transport-upgrader to p2p/net/upgrader 2022-04-27 01:46:40 +02:00
Marten Seemann 981c9cf4d4 move go-libp2p-transport-upgrader here 2022-04-26 20:02:24 +02:00
Marten Seemann 935905753a switch from github.com/libp2p/go-libp2p-noise to p2p/security/noise 2022-04-26 19:59:10 +02:00
Marten Seemann 1c9854fed8 move go-libp2p-noise here 2022-04-26 19:56:59 +02:00
Marten Seemann 4b7059c916
Merge pull request #1460 from libp2p/merge-csm
move go-conn-security-multistream here
2022-04-26 18:40:07 +01:00
Marten Seemann d6c72fe5c5
Merge pull request #1450 from libp2p/merge-mplex
move go-libp2p-mplex here
2022-04-26 13:40:38 +01:00
Marten Seemann de5875fd9c switch from github.com/libp2p/go-conn-security-multistream to p2p/net/conn-security-multistream 2022-04-26 13:23:15 +01:00
Marten Seemann fc9539f865 move go-conn-security-multistream here 2022-04-26 13:21:12 +01:00
Marten Seemann 663cf70bc3 rename the mplex package to mplex 2022-04-26 13:13:12 +01:00
Marten Seemann d69f1fc262 move go-libp2p-mplex here 2022-04-26 13:06:50 +01:00
Marten Seemann 94ce988fbb
use yamux instead of mplex in tests (#1456)
* use yamux in TCP transport tests

* use yamux in websocket tests
2022-04-26 03:19:06 -07:00
Marten Seemann 43e4e51b74
rename the yamux package (#1452) 2022-04-25 12:03:16 -07:00
Marten Seemann 39304c883f
swarm: don't check return value of str.Close in TestResourceManager (#1453)
If the stream was canceled, QUIC will return an error when calling Close.
2022-04-25 10:36:02 -07:00
Marten Seemann 29eeec7d3a
Merge pull request #1439 from libp2p/merge-yamux
move go-libp2p-yamux here
2022-04-25 14:12:23 +01:00
Marten Seemann c815cb0b52
quic: fix flaky TestConnectionGating test (#1442) 2022-04-25 04:59:11 -07:00
Marten Seemann ce0003b970
quic: fix flaky TestReuseGarbageCollect test (#1446) 2022-04-25 04:58:56 -07:00
Marten Seemann 34fd48977a
quic: fix flaky holepunching test (#1443) 2022-04-25 04:58:39 -07:00
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
Marten Seemann abde8f37f7 catch panics during the handshake (#111) 2022-04-19 03:01:46 -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