fix short writes when not using SERVE-EVENT
authorNikodemus Siivola <nikodemus@sb-studio.net>
Thu, 4 Aug 2011 10:31:06 +0000 (13:31 +0300)
committerNikodemus Siivola <nikodemus@sb-studio.net>
Thu, 4 Aug 2011 10:38:17 +0000 (13:38 +0300)
commit40269d0ac711b36151bec69db7a021a28cef41ee
tree5444390f346faeeef38520999a923a4409865c01
parentb43c51beeb0569a38900e1e5a78606711f987742
fix short writes when not using SERVE-EVENT

  Regression since 1.0.42.43, lp#820599.

  Thanks to Robert Brown.

  If we remain in the loop, we need to update the local HEAD
  variable in the event of a short write.

  NOTE: No test case yet, as this is dependant on the size of kernel
  buffers, and trying to catch the short-write -case is tricky.
NEWS
src/code/fd-stream.lisp