storj/certificate
Yingrong Zhao 7e80badaf9 pkg/server,pkg/quic: accept an existing conn to create quic listener and
allow disabling tcp/quic

In order to have more control of a server so that we can
simulate connection failures in `testplanet`, this PR changes
quic.Listener to accept an existing UDPConn instead of relying on the
quic-go library to create the UDPConn.
This PR also adds two flags on the `server.Config` struct to allow
enabling/disabling tcp/tls listener and quic listener. By default, they
are both set to true.
    - `DisableTCPTLS`: internal flag, disables tcp/tls listener.
    - `DisableQUIC`: hidden flag, disables quic listener
By making the `DisableQUIC` a hidden flag, it allows storagenode operators to
have the ability to disable quic traffic in case their set up can't work
with udp traffic.

Change-Id: I853b12435d988b9c41ad9b873fd57480d792e378
2021-02-03 12:04:29 -05:00
..
authorization certificate/authorization: add ctx to OpenDB 2020-10-29 09:46:23 +02:00
certificateclient all: fix dots 2020-07-16 14:58:28 +00:00
rpcerrs certificate/rpcerrs: move logging sanitizer into certificate 2020-10-14 14:11:36 +03:00
doc.go pkg/certificates: move certificate package to root (#3107) 2019-09-26 09:11:05 -07:00
endpoint.go certificate/rpcerrs: move logging sanitizer into certificate 2020-10-14 14:11:36 +03:00
peer_test.go certificate/authorization: add ctx to OpenDB 2020-10-29 09:46:23 +02:00
peer.go pkg/server,pkg/quic: accept an existing conn to create quic listener and 2021-02-03 12:04:29 -05:00