Marten Seemann
f73205096f
quic / webtransport: make it possible to listen on the same address / port ( #1905 )
...
* quic: add an integration test for QUIC version support
* quic: refactor the stateless reset test
* quic: simplify the interface of the noreuseConn
DecreaseCount now closes the underlying UDP conn, so that callers don't
need to pay attention if they're dealing with a reuseConn or a
noreuseConn.
* implement a quicreuse to manage QUIC connections
* quicreuse: introduce options
* config: construct the quicreuse.ConnManager using fx
* webtransport: use the quicreuse
* add integration test for QUIC and WebTranport sharing the same UDP addr
* Handle errors in accept loop goroutine
* Add comment
* Remove todo
* Rename mutexes
* Cleanup extra close
* Only log on err
* Use webtransport-go 0.4.0
* Fix expected error
Co-authored-by: Marco Munizaga <git@marcopolo.io>
2022-11-28 15:55:38 -08:00
Marten Seemann
b90b74f3a5
check the options passed to transport constructor match
2022-11-10 12:42:10 +00:00
Marten Seemann
7d0b6ba933
refactor the transport constructor code to remove TransportWithOptions
2022-11-10 10:09:48 +00:00
Marten Seemann
cbe50095f3
config: use fx to construct security transports
2022-11-10 10:09:45 +00:00
Marten Seemann
8df365bf45
add default listen addresses for QUIC ( #1615 )
2022-08-22 08:06:10 -07:00
Marten Seemann
4623690009
switch from github.com/libp2p/go-libp2p-core to core
2022-08-17 17:13:02 +03:00
Marten Seemann
2b69671cb9
remove flaky TestTcpSimultaneousConnect ( #1425 )
2022-04-22 09:19:32 -07: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
4268804809
make go-libp2p build when using the resource manager dependencies
2022-01-18 12:25:31 +04:00
Marten Seemann
0f0cc4e4a0
use the transport.Upgrader interface
2022-01-04 13:20:59 +04:00
Marten Seemann
d01b892679
update go-libp2p-swarm to v0.7.0
2021-10-19 10:39:32 +02:00
Marten Seemann
b7bee3855c
remove the context from the libp2p and from the Host contructor
2021-09-18 14:06:56 +02:00
Aarsh Shah
c575ec40e1
Finish and Test the simultaneous connect problem in libp2p peers ( #1041 )
...
* Implement support for SimOpen.
2021-02-17 13:36:40 +05:30
Steven Allen
46b58740de
fix: fix connection gater in transport constructor
2020-05-20 11:09:00 -07:00
Steven Allen
1359013f39
fix: set the private key when constructing the autonat service
...
Otherwise, it the node fails to build.
2020-03-24 16:49:24 -07:00
Raúl Kripalani
d87f89314c
Consolidate abstractions and core types into go-libp2p-core ( #601 )
2019-05-26 22:55:46 +01:00
Steven Allen
262b35f272
chore: improve nil option tests
2019-04-17 18:05:08 -07:00
Steven Allen
cff9cb577c
constructor: allow nil options
...
This can make it significantly easier to configure libp2p with optional options.
2019-04-17 17:08:50 -07:00
vyzo
0600392e23
enable relay by default in New
2018-09-28 11:30:45 +03:00
Steven Allen
a36d383413
add tests for NoTransports and NoListen
2018-08-21 14:40:18 -07:00
Abhishek Upperwal
9e952be412
modified regex for ipv6
2018-07-28 02:48:09 +05:30
Abhishek Upperwal
ecf27b599f
strict DefaultListenAddrs test w/ regex
2018-07-28 02:08:45 +05:30
Abhishek Upperwal
6372f928d4
Correct behaviour test for DefaultListenAddrs
2018-07-27 02:26:29 +05:30
Abhishek Upperwal
29af134a71
corrected transport init
2018-07-26 01:14:09 +05:30
Abhishek Upperwal
fb4019575d
Added test for DefaultListenAddrs
2018-07-26 01:08:20 +05:30
Steven Allen
41c6834850
refactor for transport changes
...
Also, make the libp2p constructor fully useful. There should now be no need to
manually construct a swarm/host.
2018-06-04 21:22:24 -07:00
Jamie Steiner
acd4dd9a89
added NAT traversal option and constructor test
2018-03-04 10:35:49 +02:00