storj/storagenode
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
..
bandwidth storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
collector satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
console storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
contact all: reduce number of log messages 2020-01-06 19:03:46 +00:00
gracefulexit storagenode/pieces: Rename vars and update comments 2020-01-23 11:00:24 -07:00
inspector storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
monitor common: separate repository 2019-12-27 14:11:15 +02:00
nodestats storagenode: ensure we don't eat the underlying error 2020-01-14 20:26:23 +00:00
notifications storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
orders storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
pieces storagenode/pieces: Rename vars and update comments 2020-01-23 11:00:24 -07:00
piecestore storagenode/piecestore: add large timeouts to read/write operations 2020-01-23 19:20:49 +00:00
preflight all: fix import groupings 2020-01-20 17:47:44 +00:00
reputation storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
retain storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
satellites storagenode/gracefulexit: fix exit-status command output 2020-01-15 14:58:15 +00:00
storagenodedb storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
storageusage storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
trust storagenode: ensure we don't eat the underlying error 2020-01-14 20:26:23 +00:00
operator.go storagenode/main: map aliases for kademlia config values (#3118) 2019-09-30 19:33:00 -04:00
peer.go storagenode/peer: ensure contact.external-address and server.address is valid 2020-01-23 15:51:46 +00:00