commit | 77d57b06a4abd691f957aad2e852bd9ff1fd17f4 | [log] [download] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Fri Oct 26 14:28:01 2007 +1000 |
committer | Damien Miller <djm@mindrot.org> | Fri Oct 26 14:28:01 2007 +1000 |
tree | 5e8e8c0cf4b6bb6bf1a764a60ea85c32f901244d | |
parent | 1cbc292bc0b43a03071ef4924d14186dd0cf054e [diff] |
- djm@cvs.openbsd.org 2007/10/24 03:44:02 [scp.c] factor out network read/write into an atomicio()-like function, and use it to handle short reads, apply bandwidth limits and update counters. make network IO non-blocking, so a small trickle of reads/writes has a chance of updating the progress meter; bz #799 ok dtucker@