go-libp2p/p2p
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>
2022-10-07 10:34:58 -07:00
..
discovery switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
host Bump timeout in CI for flaky test (#1801) 2022-10-06 12:53:06 -07:00
muxer tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00
net tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00
protocol Don't use rcmgr in this test (#1799) 2022-10-06 12:53:30 -07:00
security tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00
test add default listen addresses for QUIC (#1615) 2022-08-22 08:06:10 -07:00
transport tls: use ALPN to negotiate the stream multiplexer (#1772) 2022-10-07 10:34:58 -07:00