http-read calls setvbuf only once
authorAndy Wingo <wingo@pobox.com>
Mon, 6 Dec 2010 18:52:51 +0000 (19:52 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 6 Dec 2010 18:52:51 +0000 (19:52 +0100)
commit4595600a08b7f01b9a4eb8f9d1732f1728989d81
tree90d5746596ca72e88e2d2b053a8df57f475590cf
parente9634465e365e74b3dc3edeae98a98ece1530f82
http-read calls setvbuf only once

* module/web/server/http.scm (http-read): Don't play the setvbuf dance,
  it was throwing away buffered input. Instead just call setvbuf once
  before doing any reads or writes.
module/web/server/http.scm