- 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@
1 file changed
tree: 5e8e8c0cf4b6bb6bf1a764a60ea85c32f901244d
  1. contrib/
  2. openbsd-compat/
  3. regress/
  4. scard/
  5. .cvsignore
  6. aclocal.m4
  7. acss.c
  8. acss.h
  9. atomicio.c
  10. atomicio.h
  11. audit-bsm.c
  12. audit.c
  13. audit.h
  14. auth-bsdauth.c
  15. auth-chall.c
  16. auth-krb5.c
  17. auth-options.c
  18. auth-options.h
  19. auth-pam.c
  20. auth-pam.h
  21. auth-passwd.c
  22. auth-rh-rsa.c
  23. auth-rhosts.c
  24. auth-rsa.c
  25. auth-shadow.c
  26. auth-sia.c
  27. auth-sia.h
  28. auth-skey.c
  29. auth.c
  30. auth.h
  31. auth1.c
  32. auth2-chall.c
  33. auth2-gss.c
  34. auth2-hostbased.c
  35. auth2-kbdint.c
  36. auth2-none.c
  37. auth2-passwd.c
  38. auth2-pubkey.c
  39. auth2.c
  40. authfd.c
  41. authfd.h
  42. authfile.c
  43. authfile.h
  44. bufaux.c
  45. bufbn.c
  46. buffer.c
  47. buffer.h
  48. buildpkg.sh.in
  49. canohost.c
  50. canohost.h
  51. ChangeLog
  52. channels.c
  53. channels.h
  54. cipher-3des1.c
  55. cipher-acss.c
  56. cipher-aes.c
  57. cipher-bf1.c
  58. cipher-ctr.c
  59. cipher.c
  60. cipher.h
  61. cleanup.c
  62. clientloop.c
  63. clientloop.h
  64. compat.c
  65. compat.h
  66. compress.c
  67. compress.h
  68. config.guess
  69. config.sub
  70. configure.ac
  71. crc32.c
  72. crc32.h
  73. CREDITS
  74. deattack.c
  75. deattack.h
  76. defines.h
  77. dh.c
  78. dh.h
  79. dispatch.c
  80. dispatch.h
  81. dns.c
  82. dns.h
  83. entropy.c
  84. entropy.h
  85. fatal.c
  86. fixpaths
  87. fixprogs
  88. groupaccess.c
  89. groupaccess.h
  90. gss-genr.c
  91. gss-serv-krb5.c
  92. gss-serv.c
  93. hostfile.c
  94. hostfile.h
  95. includes.h
  96. INSTALL
  97. install-sh
  98. kex.c
  99. kex.h
  100. kexdh.c
  101. kexdhc.c
  102. kexdhs.c
  103. kexgex.c
  104. kexgexc.c
  105. kexgexs.c
  106. key.c
  107. key.h
  108. LICENCE
  109. log.c
  110. log.h
  111. loginrec.c
  112. loginrec.h
  113. logintest.c
  114. mac.c
  115. mac.h
  116. Makefile.in
  117. match.c
  118. match.h
  119. md-sha256.c
  120. md5crypt.c
  121. md5crypt.h
  122. mdoc2man.awk
  123. misc.c
  124. misc.h
  125. mkinstalldirs
  126. moduli
  127. moduli.c
  128. monitor.c
  129. monitor.h
  130. monitor_fdpass.c
  131. monitor_fdpass.h
  132. monitor_mm.c
  133. monitor_mm.h
  134. monitor_wrap.c
  135. monitor_wrap.h
  136. msg.c
  137. msg.h
  138. myproposal.h
  139. nchan.c
  140. nchan.ms
  141. nchan2.ms
  142. openssh.xml.in
  143. opensshd.init.in
  144. OVERVIEW
  145. packet.c
  146. packet.h
  147. pathnames.h
  148. platform.c
  149. platform.h
  150. progressmeter.c
  151. progressmeter.h
  152. readconf.c
  153. readconf.h
  154. README
  155. README.dns
  156. README.platform
  157. README.privsep
  158. README.smartcard
  159. README.tun
  160. readpass.c
  161. RFC.nroff
  162. rijndael.c
  163. rijndael.h
  164. rsa.c
  165. rsa.h
  166. scard-opensc.c
  167. scard.c
  168. scard.h
  169. scp.1
  170. scp.c
  171. servconf.c
  172. servconf.h
  173. serverloop.c
  174. serverloop.h
  175. session.c
  176. session.h
  177. sftp-client.c
  178. sftp-client.h
  179. sftp-common.c
  180. sftp-common.h
  181. sftp-glob.c
  182. sftp-server.8
  183. sftp-server.c
  184. sftp.1
  185. sftp.c
  186. sftp.h
  187. ssh-add.1
  188. ssh-add.c
  189. ssh-agent.1
  190. ssh-agent.c
  191. ssh-dss.c
  192. ssh-gss.h
  193. ssh-keygen.1
  194. ssh-keygen.c
  195. ssh-keyscan.1
  196. ssh-keyscan.c
  197. ssh-keysign.8
  198. ssh-keysign.c
  199. ssh-rand-helper.8
  200. ssh-rand-helper.c
  201. ssh-rsa.c
  202. ssh.1
  203. ssh.c
  204. ssh.h
  205. ssh1.h
  206. ssh2.h
  207. ssh_config
  208. ssh_config.5
  209. ssh_prng_cmds.in
  210. sshconnect.c
  211. sshconnect.h
  212. sshconnect1.c
  213. sshconnect2.c
  214. sshd.8
  215. sshd.c
  216. sshd_config
  217. sshd_config.5
  218. sshlogin.c
  219. sshlogin.h
  220. sshpty.c
  221. sshpty.h
  222. sshtty.c
  223. survey.sh.in
  224. TODO
  225. ttymodes.c
  226. ttymodes.h
  227. uidswap.c
  228. uidswap.h
  229. umac.c
  230. umac.h
  231. uuencode.c
  232. uuencode.h
  233. version.h
  234. WARNING.RNG
  235. xmalloc.c
  236. xmalloc.h