storj/private
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
..
cui all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
currency private/currency: add strictcsv support to microunit 2020-03-31 14:57:04 -06:00
date storagenode/payouts: fix CurrentMonthExpectations timezone handling. Estimations based on node's join date. 2021-01-25 19:03:30 +02:00
dbutil all: minor cleanups 2020-12-16 10:47:46 +00:00
debugging all: fix dots 2020-07-16 14:58:28 +00:00
lifecycle private/lifecycle: warn on slow service shutdown 2020-11-06 15:01:54 +00:00
migrate private/{dbutil,tagsql}: pass ctx to database opening 2020-10-29 10:51:29 +00:00
multinodeauth multinode/console: list node infos 2021-01-05 14:49:11 +00:00
multinodepb multinode/console: list node updated with total earned 2021-01-12 23:01:49 +00:00
post all: fix linter complaints 2020-10-13 15:59:01 +03:00
prompt private/prompt: remove dependency to go-prompt 2020-02-25 13:09:41 +02:00
tagsql all: add pprof labels for debugger 2020-10-29 15:10:07 +00:00
testblobs private/testblobs: fix data race in BadDB 2020-11-06 11:56:46 +02:00
testplanet pkg/server,pkg/quic: accept an existing conn to create quic listener and 2021-02-03 12:04:29 -05:00
testrevocation all: add pprof labels for debugger 2020-10-29 15:10:07 +00:00
teststorj all: fix dots 2020-07-16 14:58:28 +00:00
testuplink satellite/orders: use smaller encrypted metadata 2021-01-08 16:40:31 +00:00
version all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
web all: fix linter complaints 2020-10-13 15:59:01 +03:00