| commit | 65e42f87fe945a2bf30d7e02358554dbaefa8a4c | [log] [download] |
|---|---|---|
| author | Damien Miller <djm@mindrot.org> | Fri Sep 24 22:15:11 2010 +1000 |
| committer | Damien Miller <djm@mindrot.org> | Fri Sep 24 22:15:11 2010 +1000 |
| tree | 102c10a0b5328a40c79dca19d208f0ca0c1671b5 | |
| parent | 7fe2b1fec3b364faf952828f3875b8e7eed8feb4 [diff] |
- djm@cvs.openbsd.org 2010/09/22 22:58:51
[atomicio.c atomicio.h misc.c misc.h scp.c sftp-client.c]
[sftp-client.h sftp.1 sftp.c]
add an option per-read/write callback to atomicio
factor out bandwidth limiting code from scp(1) into a generic bandwidth
limiter that can be attached using the atomicio callback mechanism
add a bandwidth limit option to sftp(1) using the above
"very nice" markus@