storj/uplink
JT Olio 2c6fa3c5f8
pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335)
libuplink was incorrectly setting timeouts to 10 seconds still, but
should have been at least 10 minutes. the order sender was setting them
to 1 hour. we don't want timeouts in uplink-side logic as it establishes
a minimum rate on tcp streams.

instead of all of this, just use tcp keep alive. tcp keep alive packets are
sent every 15 seconds and if the peer stops responding the connection
dies. this is enabled by default with go. this will kill tcp connections
when they stop working.

Change-Id: I3d7ad49f71950b3eb43044eedf4b17993116045b
2019-10-22 17:57:24 -06:00
..
ecclient storagenode/gracefulexit: Implement storage node graceful exit worker - part 1 (#3322) 2019-10-22 16:42:21 -04:00
eestream Repair with hashes (#2925) 2019-09-06 15:20:36 -04:00
metainfo pkg/rpc: defeat MITM attacks in most cases (#3215) 2019-10-12 14:34:41 -06:00
piecestore Satellite/PieceHashValidation: Increase time window from 2h to 24h to avoid timezone issues (#3291) 2019-10-16 06:47:08 -06:00
storage upload: Add more info to returned error response & to logs (#3218) 2019-10-17 20:01:40 +02:00
stream lib/uplink: remove Seek method (#2768) 2019-08-13 20:29:02 +03:00
config.go pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00