7e80badaf9
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 |
||
---|---|---|
.. | ||
authorization | ||
certificateclient | ||
rpcerrs | ||
doc.go | ||
endpoint.go | ||
peer_test.go | ||
peer.go |