mozilla-services/vaurien — pull request #22 by jterrace (2013-03-27 17:56:18+00:00)
Title: Fix four HTTP proxying problems.

* Added "Connection: close" to 5xx errors.
* Properly close both upstream and downstream connections on errors.
* Fixed infinite loop when responding to HEAD requests that have no body.
* Fixed randomness when using keep-alive connections. Previously, the behavior
was only randomly selected on new connections, but HTTP keep-alive connections
need to choose a random behavior for each new request/response.