Marten Seemann
f2edde8f9a
Merge pull request #1220 from libp2p/mdns-service-start
remove {Un}RegisterNotifee functions from mDNS service
3 years ago
Marten Seemann
7d06b23cef
Merge pull request #1213 from libp2p/fix-holepunch-structured-logging
fix structured logging in holepunch coordination
3 years ago
Marten Seemann
077325cde7
pass notifees to the mDNS constructor, add dedicated Start method
3 years ago
Marten Seemann
64693c6074
use the new mDNS service in the chat-with-mdns example
3 years ago
Marten Seemann
8f2212ab72
fix structured logging in holepunch coordination
3 years ago
Steven Allen
6139a3d9cb
Merge pull request #1212 from libp2p/fix-flaky-backpressure-test
fix flaky TestStBackpressureStreamWrite test
3 years ago
Marten Seemann
d713b5b0c1
Merge pull request #1216 from libp2p/fix-mdns-test-shutdown
properly close hosts in mDNS tests
3 years ago
Marten Seemann
2a7d021bab
Merge pull request #1218 from libp2p/fix-oas-shutdown
close the ObserverAddrManager when the ID service is closed
3 years ago
Marten Seemann
105f1e6b64
close the ObserverAddrManager when the ID service is closed
3 years ago
Marten Seemann
d04ca6d6ad
properly close hosts in mDNS tests
3 years ago
Marten Seemann
2a3f8d3546
fix flaky TestStBackpressureStreamWrite test
3 years ago
Marten Seemann
e70d7cf245
Merge pull request #1205 from libp2p/transport-options
make it possible to pass options to a transport constructor
3 years ago
Marten Seemann
605f189723
check presence and type of transport constructor options
3 years ago
Marten Seemann
efb3b27038
pass options to transport constructors
3 years ago
Marten Seemann
79a210072d
Merge pull request #1193 from libp2p/natmgr-remove-goprocess
remove goprocess from the NATManager
3 years ago
Marten Seemann
3e1f6683f7
Merge pull request #1197 from libp2p/use-relayv2
add an option to start the relay v2
3 years ago
Marten Seemann
72b58240e8
Merge pull request #1200 from libp2p/fix-flaky-id-test
fix flaky TestFastDisconnect identify test
3 years ago
Marten Seemann
0aeef559d0
add an option to start the relay v2
3 years ago
Marten Seemann
954de9af75
Merge pull request #1203 from libp2p/update-tcp
chore: update go-tcp-transport to v0.3.0
3 years ago
Marten Seemann
20f296f2e9
chore: update go-tcp-transport to v0.3.0
3 years ago
Steven Allen
f15c2a8d95
Merge pull request #1204 from libp2p/fix/allow-variadic
fix: skip variadic params in constructors
3 years ago
Marten Seemann
bd2214aab3
Merge pull request #1202 from libp2p/fix-basic-host-test-failures
fix flaky BasicHost tests
3 years ago
Marten Seemann
bf0203c6d3
fix flaky BasicHost tests
3 years ago
Marten Seemann
fa64faf44b
Merge pull request #1201 from libp2p/remove-detect-race
remove dependency on github.com/ipfs/go-detect-race
3 years ago
Steven Allen
c07f74fd44
fix: skip variadic params in constructors
We use them for "options". Ideally we'd be able to forward options
through, but that would require real dependency injection.
3 years ago
Marten Seemann
eba91ac63e
Merge pull request #1191 from libp2p/fix-flaky-end-to-end-sim-connect-test
fix flaky TestEndToEndSimConnect holepunching test
3 years ago
Marten Seemann
4028c3c578
remove goprocess from the NATManager
3 years ago
Marten Seemann
4975f0abe5
remove dependency on github.com/ipfs/go-detect-race
3 years ago
vyzo
22b62cfd65
autorelay support for circuitv2 relays ( #1198 )
* move host/relay to host/autorelay
* move autorelay wrapper host to package
* support v2 relays in autorelay
* test autorelay with both v1 and v2 relays
* fix test race
* go mod tidy examples/pubsub/chat
static checker complains; sigh.
* refactor reservation refresh loop
* merge background and refresh goroutines
* handle pushes synchronously from reservation refresh failures
* make connmanager tag a package level constant
* dont sleep to wait for identify, use IdentifyWait
* make relay protocol ids package-level constants
* add comment about v1 relays not having reservations
* use errgrp instead of WaitGroup with atomic int
* fix variable capture bug
* go get x/sync
3 years ago
Marten Seemann
7fa07a4aac
close all connections in the TestFastDisconnect test
3 years ago
Marten Seemann
6eada787d9
fix flaky TestFastDisconnect identify test
3 years ago
Marten Seemann
4650ccd21b
Merge pull request #1199 from libp2p/protect-nonsensical-expiration
reject circuitv2 reservations with nonsensical expiration times
3 years ago
Marten Seemann
7ecefa8cba
reject circuitv2 reservations with nonsensical expiration times
3 years ago
vyzo
8a70f70fbb
Merge pull request #1188 from libp2p/feat/relay-tags
Tag relay hops in relay implementations
3 years ago
vyzo
9674b5cda5
make hop tags and values private
3 years ago
vyzo
0d8a1852cf
make tag value fixed, tagged in first circuit, untagged in last.
3 years ago
vyzo
369df59523
fix tag increment
3 years ago
vyzo
3df061d90e
tag relay hops in relay implementations
3 years ago
vyzo
d1e26810a0
Add standalone implementation of v1 Relay ( #1186 )
* add circuitv1 protobuf
* add implementation of v1 circuit relay
Intended to be used by standalone daemons and tests
* remove references to go-libp2p-circuit from production code
* update tests to use the in-tree v1 Relay
* use go-log/v2 in relay v1 impl
* use in-tree v1 relay in relay example
* remove go-libp2p-circuit dep from examples go.mod, go mod tidy
3 years ago
Marten Seemann
af24f73bb3
fix flaky TestEndToEndSimConnect holepunching test
3 years ago
Marten Seemann
621eafcecd
Merge pull request #1190 from libp2p/bye-context
remove the context from the libp2p and the Host constructor
3 years ago
Marten Seemann
b7bee3855c
remove the context from the libp2p and from the Host contructor
3 years ago
Marten Seemann
29da01af70
update go-libp2p-core to v0.10.0
3 years ago
Marten Seemann
a5f982ff01
Merge pull request #1185 from libp2p/circuit-shutdown
don't use a context to shut down the circuitv2
3 years ago
Marten Seemann
729386c495
don't use a context to shut down the circuitv2
3 years ago
Marten Seemann
7cb03db315
Merge pull request #1189 from libp2p/fix/remove-v1-log-dep
fix: remove v1 go-log dep
3 years ago
Steven Allen
2c69c99b23
fix: remove v1 go-log dep
3 years ago
Marten Seemann
9d3fd8bc46
Merge pull request #1184 from libp2p/relay-shutdown
don't use the context to shut down the relay
3 years ago
Marten Seemann
f3acea0d61
don't use the context to shut down the relay
3 years ago
vyzo
79d995404c
Use circuitv2 code ( #1183 )
* move circuitv2 to p2p/protocol
* update circuitv2 imports
* RIP circuit v2; use circuitv2
* fix autorelay test
* fix holepunch test
* fix relay example
3 years ago