storj/private/testplanet
Jeff Wendling 16bb374deb storagenode/piecestore: add large timeouts to read/write operations
this is to help protect against intentional or unintentional
slowloris style problems where a client keeps a tcp connection
alive but never sends any data. because grpc is great, we have
to spawn a separate goroutine for every read/write to the stream
so that we can return from the server handler to cancel it if
necessary. yep. really.

additionally, we update the rpcstatus package to do some stack
trace capture and add a Wrap method for the times where we want
to just use the existing error.

also fixes a number of TODOs where we attach status codes to the
returned errors in the endpoints.

Change-Id: Id8bb8ff84aa34e0f711b0cf9bce3908b36a1d3c1
2020-01-23 19:20:49 +00:00
..
dir.go private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
planet_test.go all: remove usages of testplanet.New 2020-01-22 22:42:57 +02:00
planet.go private/testplanet: shutdown databases in reverse order 2020-01-23 18:55:57 +00:00
reconfigure.go satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
referralmanager.go common: separate repository 2019-12-27 14:11:15 +02:00
rpc_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run.go satellite/accounting: refactor live accounting to hold current estimated totals 2020-01-16 10:26:49 -05:00
satellite.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
storagenode.go storagenode/piecestore: add large timeouts to read/write operations 2020-01-23 19:20:49 +00:00
tlsopts_test.go common: separate repository 2019-12-27 14:11:15 +02:00
uplink_test.go satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
uplink.go satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
versioning.go private/testplanet: use defaultInterval 2020-01-14 16:07:36 +00:00