3 ms·
When I implement this, I typically use separate thresholds for the entire request and time since last progress or some rolling average transfer rates. Letting a
by acdha 6y ago
When I implement this, I typically use separate thresholds for the entire request and time since last progress or some rolling average transfer rates. Letting a slow transfer complete is useful both for what you mentioned and also reducing server congestion but you do need to detect failures where the remote end goes silent (server failure, network roaming, etc.) without tearing down the connection.