- Fix error on early async hooks implementations
- Prevent loss of async hooks context
- Add defined behavior for HTTP
CONNECT
requests - Add defined behavior for HTTP
Upgrade
requests - deps: ee-first@1.1.1
- Fix
isFinished(req)
when data buffered
- Add message object to callback arguments
- Fix handling of pipelined requests
- Check if
socket
is detached - Return
undefined
forisFinished
if state unknown
- Add
isFinished
function - Move to
jshttp
organization - Remove support for plain socket argument
- Rename to
on-finished
- Support both
req
andres
as arguments - deps: ee-first@1.0.5
- Reduce listeners added to emitters
- avoids "event emitter leak" warnings when used multiple times on same request
- Fix returned value when already finished
- Call callback when called on already-finished socket
- Support node.js 0.8
- Make sure errors passed as instanceof
Error
- Default the
socket
to passed-in object
- Rename module to
finished
- Call callback when called on already-errored socket
- Actually pass the error to the callback
- Initial release