LearnBoost/knox — pull request #236 by willisblackburn (2014-06-07 19:09:08+00:00)
Title: Fix issue with request errors causing Node to terminate

Removed extra installation of error handler for HTTP request in putFile.
Removed wrappedFn so that putFile has the same callback behavior as
putStream.
Making these changes completely eliminated a problem I was having with
request errors being forwarded to the "progress" emitter returned from
putFile and causing Node to terminate.
See discussion here:
https://github.com/LearnBoost/knox/issues/207