nodejitsu/node-http-proxy — Issue #146: test coverage for error paths
Author: dominictarr
Created: 2011-11-04 12:06:04+00:00
State: open

currently, there are tests for requests that should be proxied correctly,
but I do not see any tests that check that errors are handled correctly.

* socket hangup (server proxied to dies part way)
* econn refused (there is no server at host:port proxied to)
* sockets closing part while proxy is writing (can make req.write throw)

those are the errors that I can think of off the top of my head, can anyone else think of any more?