Final changes before 1.0.0
Created by: indexzero
@yawnt found a few minor things when I was using this extensively:
-
EventEmitter3 will not throw on an unhandled
error
: but without any default handler it's very confusing to debug when your proxy logic is just plain wrong. We should have a default logger if there are noerror
handlers. cc/ @3rd-Eden -
We should have a simple(r)
.createProxy()
method: which is basically just exposingcreateRightProxy
. A lot of our users don't even bother withhttpProxy.createServer
, they just usenew httpProxy.RoutingProxy()
. Forcing them to create a server that they will never use feels very awkward. -
Remove all (soon to be old) caronte links: The README.md and a few other doc links still have hrefs to the
caronte
branch