| Summary: | scp incorrectly reports "stalled" on slow copies | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Peter Jeremy <peter.jeremy> | ||||||
| Component: | scp | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | minor | Keywords: | patch | ||||||
| Priority: | P4 | ||||||||
| Version: | -current | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 1353 | ||||||||
| Attachments: |
|
||||||||
|
Description
Peter Jeremy
2004-01-29 14:09:15 AEDT
Created attachment 1286 [details]
increment counters for short writes
This patch avoids the use of atomicio on the network sockets, so it should have the chance to update the counters more frequently.
Created attachment 1302 [details]
Revised scp diff
There is no point incrementing the counters more quickly when the file descriptors are blocking. This diff makes them non-blocking, unifies a little code and increases the buffer size for improved performance.
patch applied - will be in openssh-4.8. Fix shipped in 4.9/4.9p1 release. |