Commit Graph

24 Commits

Author SHA1 Message Date
Marten Seemann
04a43b13a9 upgrader: absorb the muxer_multistream.Transport into the upgrader (#1885) 2022-11-16 14:09:21 -08:00
Marten Seemann
cbe50095f3 config: use fx to construct security transports 2022-11-10 10:09:45 +00:00
Marten Seemann
30e59560d3 upgrader: simplify the constructor 2022-11-10 10:07:17 +00:00
Marten Seemann
c0a0aa010e rcmgr: make it possible to embed the NullResourceManager 2022-10-24 13:24:04 +01:00
Marten Seemann
b52af7d043 tcp: add an option to enable metrics (disabled by default) (#1734) 2022-09-07 09:03:28 -07:00
Marten Seemann
f401380ff1 move the resource manager mocks to this repo 2022-08-17 17:13:03 +03:00
Marten Seemann
4623690009 switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
Marco Munizaga
3eb35223a7 Pass endpoint information to resource manager's OpenConnection (#1633)
* Move mux testsuite to here

* Update OpenConnection call sites to pass in endpoint information

* Go mod update

* Use proper versions for deps
2022-07-01 15:43:42 -07:00
Marten Seemann
64cfca6beb switch from github.com/libp2p/go-libp2p-testing/suites/transport to p2p/transport/testsuite 2022-05-18 13:25:53 +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
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
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
7d5a5f8357 use the ResourceManager 2022-01-18 09:55:46 +04:00
Marten Seemann
c747de37d3 use the transport.Upgrader interface 2022-01-04 12:49:04 +04:00
Marten Seemann
79d3f044d0 use a config option to disable reuseport 2021-09-25 11:32:48 +01:00
Marten Seemann
302c1b5971 chore: update go-libp2p-transport-upgrader and go-reuseport-transport 2021-07-25 10:34:50 +02:00
Steven Allen
503a78e280 fix: don't allow dialing DNS addresses
See https://github.com/libp2p/go-libp2p/issues/841
2020-04-02 22:20:21 -07:00
Yusef Napora
cea811c943 use new insecure transport constructor 2019-07-25 12:20:15 -04:00
Raúl Kripalani
ed7828ceef migrate to consolidated types (#40) 2019-05-26 15:11:07 +01:00
Steven Allen
b06b0e6b21 dep: import go-libp2p-mplex into the libp2p org 2019-05-21 19:14:47 -07:00
Steven Allen
4784a35f52 refactor for transport interface changes
Also, refactor out reuseport logic into a separate package.
2018-06-04 19:02:43 -07:00
Jeromy
e37704103a fix ip4 vs ip6 dial failures 2017-03-21 16:59:49 -07:00
Jeromy
9532d3f16a update deps 2016-10-04 19:38:14 -07:00
Jeromy
7c54aa9763 extract tcp transport from go-libp2p-transport 2016-09-25 01:08:17 -07:00