kcar 0.3.1 - Kcar::Response minor bugfixv0.3.1
commit7a51fde712fdbf40db080c30f91caf59a9dd9d7a
authorEric Wong <normalperson@yhbt.net>
Wed, 26 Sep 2012 02:41:58 +0000 (26 02:41 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 26 Sep 2012 02:41:58 +0000 (26 02:41 +0000)
tree216c852937f6430ec3cb5f2eeac47167e365cf22
parenta942f4f35af6d2764f05c3f76186b383142f7d3b
kcar 0.3.1 - Kcar::Response minor bugfix

One bugfix for the optional Kcar::Response module:

* propagate EOFError on remote errors

  When proxying remote requests, EOFError may get incorrectly
  discarded when a the remote server sets the Content-Length:
  header _and_ Connection:close to disconnect the connection.

  We will now raise errors correctly when Connection:close
  is give but we have not yet read the expected Content-Length.
GIT-VERSION-GEN