http-get: don't shutdown write end of socket
authorAndy Wingo <wingo@pobox.com>
Mon, 7 Jan 2013 22:21:16 +0000 (23:21 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 7 Jan 2013 22:21:16 +0000 (23:21 +0100)
commited3e8b8e06adaaa1df5085a0f730d42efa3f5c30
tree8176fea7f58b654cd9499e7ea1fc20cf4b19b00c
parent4dbac5e08b13e4aa4ddb40e16034605757057290
http-get: don't shutdown write end of socket

* module/web/http.scm ("Connection"): Write the "close" token in
  lower-case.

* module/web/client.scm (http-get): Don't shutdown the writing side of
  the pipe if we are not doing a keepalive, as this may prevent the
  request from being sent at all.  Prevented http://friendfeed.com/ from
  being correctly fetched.
module/web/client.scm
module/web/http.scm