Marten Seemann
f7c8c0247b
config: use fx to construct the transport upgrader
2 years ago
Marten Seemann
30e59560d3
upgrader: simplify the constructor
2 years ago
Marten Seemann
1367a62d52
use fx dependency injection to construct transports
2 years ago
Chinmay Kousik
c334288f8f
noise: add an option to allow unknown peer ID in SecureOutbound ( #1823 )
2 years ago
Marco Munizaga
0575c19f91
Add some guard rails and docs ( #1863 )
2 years ago
Marco Munizaga
da3adbc438
Fix concurrent map access in connmgr ( #1860 )
2 years ago
Dennis Trautwein
2d28a045fe
fix: return filtered addrs ( #1855 )
2 years ago
Håvard Anda Estensen
21dc42bd72
chore: preallocate slices ( #1842 )
* Preallocate slices
* Move slice allocs to right before they're used
* Revert slice assignments to append
* Don't preallocate for tests or deprecated code
* Don't preallocate too much
2 years ago
Marco Munizaga
14a37349c0
Close ping stream when we exit the loop ( #1853 )
2 years ago
Marten Seemann
277b96e421
tls: don't set the deprecated tls.Config.PreferServerCipherSuites field ( #1845 )
The field has been deprecated since Go 1.17.
2 years ago
Dennis Trautwein
24e7508536
routed host: search for new multi addresses upon connect failure ( #1835 )
* feat: search for new multi addresses upon connect failure
* test: add routed host obsolete maddr test
* incorporate pr feedback
2 years ago
Marten Seemann
4a556c8422
core/peerstore: removed unused provider addr ttl constant ( #1848 )
Co-authored-by: Dennis Trautwein <git@dtrautwein.eu>
2 years ago
Marten Seemann
cbb0761f1a
basichost: improve protocol negotiation debug message ( #1846 )
2 years ago
julian88110
7465a509d0
noise: use Noise Extension to negotiate the muxer during the handshake ( #1813 )
* Muxer early selection over Noise protocol
* Address review points round 2
* Muxer selection according responder's preference
* Address some review points again.
* noise: regenerate the protobuf
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Marten Seemann
c33f9104d4
Merge pull request #1832 from libp2p/webtransport-rcmgr
webtransport: use the rcmgr to control flow control window increases
2 years ago
Marten Seemann
b50b4609ab
webtransport: use the rcmgr to control flow control window increases
2 years ago
Marten Seemann
c0a0aa010e
rcmgr: make it possible to embed the NullResourceManager
2 years ago
Marten Seemann
012b8ddac4
chore: update quic-go to v0.30.0 ( #1838 )
2 years ago
Prithvi Shahi
ff2240b9a7
roadmap: reorder priority, reorganize sections ( #1831 )
2 years ago
Marco Munizaga
3e156d0813
websocket: set the HTTP host header in WSS( #1834 )
* Send host header
Co-authored-by: Thibault Meunier <thibault@cloudflare.com>
* Add comment and use splithostport
* Return error
* Defer the close
Co-authored-by: Thibault Meunier <thibault@cloudflare.com>
2 years ago
Marten Seemann
828486ea04
Merge pull request #1828 from libp2p/webtransport-qlogging
webtransport: make it possible to record qlogs (controlled by QLOGDIR env)
2 years ago
Jc0803kevin
a401276e68
ipfs /api/v0/id is post ( #1819 )
2 years ago
Marten Seemann
28ca6e5139
quicutils: make the package internal
2 years ago
Marten Seemann
ead3e4f981
webtransport: simplify listener constructor
2 years ago
Marten Seemann
98bcb66a9a
webtransport: record qlogs when QLOGDIR is set
2 years ago
Marten Seemann
81f9f10fc8
quic: move the qlog tracer to a separate package
2 years ago
Karthik Nallabolu
63b8803005
examples: connect to all peers in example mdns chat app ( #1798 )
* Fixed bug in example mdns chat app.
* Added continue, so that if connection to other host fails, will go back to discovering.
2 years ago
Max Inden
7e206bd5d4
roadmap: fix header level on "Mid Q4" ( #1818 )
2 years ago
Daniel Vernall
164ccd7958
examples: use circuitv2 in relay example ( #1795 )
* Updated relay example to use circuit-v2
* fixed incorrect import
* updated test fixture
* upgrade dependencies
* merged upstream
* Implemented suggested changes in upstream PR
* Implemented suggested changes in upstream PR
2 years ago
Marten Seemann
c8336a47b8
add a roadmap for the next 6 months ( #1784 )
2 years ago
julian88110
ebd000db1e
tls: use ALPN to negotiate the stream multiplexer ( #1772 )
* Muxer selection in TLS handshake first cut
* Clean up some part of the code
* Change earlydata to ConnectionState for security connection.
* resolve merging conflicts
* Add stubs for noise
* clean up code
* Switch over to passing muxers to security transport constructors
* Address feedback points
* Update p2p/net/upgrader/upgrader.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* clean up accidental checked file.
* Review points round 2
* Address some go nit points
* Update tls transport test to address review points
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2 years ago
Marten Seemann
69a574cb56
tls: add tests for test vector from the spec ( #1788 )
2 years ago
Marten Seemann
e6ac836f87
examples: update go-libp2p to v0.23.x ( #1803 )
2 years ago
Marco Munizaga
1a819be65b
Try increasing timeouts if we're in CI for this test ( #1796 )
2 years ago
Marco Munizaga
b54a26ba35
Don't use rcmgr in this test ( #1799 )
2 years ago
Marco Munizaga
f940b1d627
Bump timeout in CI for flaky test ( #1800 )
2 years ago
Marco Munizaga
08d8bedf29
Bump timeout in CI for flaky test ( #1801 )
2 years ago
Marco Munizaga
1d04a70704
Fix comment in webtransport client auth handshake ( #1793 )
2 years ago
Scott Martin
7828f3e079
examples: add basic pubsub-with-rendezvous example ( #1738 )
* Added basic pubsub with rendezvous example
* Formatting
* Appease go vet and dep checker
* tidy go mod
2 years ago
Marten Seemann
18bc7474c2
quic: speed up the stateless reset test case ( #1778 )
2 years ago
Marten Seemann
2c1e54083a
tls: fix flaky handshake cancellation test ( #1779 )
2 years ago
Marten Seemann
90b2d5d86d
release v0.23.2 ( #1781 )
2 years ago
Marten Seemann
a98397f6dd
chore: update webtransport-go to v0.1.1 ( #1776 )
2 years ago
Marten Seemann
031ec50a04
webtransport: return error before wrapping opened / accepted streams ( #1775 )
2 years ago
Marten Seemann
17a342c3c7
release v0.23.1 ( #1773 )
2 years ago
Marco Munizaga
fa70f6ea48
websocket: fix nil pointer in tlsClientConf ( #1770 )
2 years ago
web3-bot
398179998e
sync: update CI config files ( #1771 )
2 years ago
Marten Seemann
f3f0e9355b
release v0.23.0 ( #1764 )
2 years ago
Marten Seemann
9d316fa393
chore: update deps ( #1767 )
2 years ago
Marten Seemann
bbf3159100
Merge pull request #1762 from libp2p/noise-extensions
noise: switch to proto2, use the new NoiseExtensions protobuf
2 years ago