Bug when a request fails and a timeout is set #76

Merged
merged 1 commit into from Sep 11, 2011

Projects

None yet

2 participants

@Marsup
Contributor
Marsup commented Sep 11, 2011

Hello,

When using a timeout and getting an error on the request, 2 errors are emitted because the timeout is never cleared, this commit fixes it.

Regards

@Marsup Marsup Avoid duplicate emit when using a timeout
When using a timeout and getting an error on the request, 2 errors were emitted.
717789e
@mikeal
Member
mikeal commented Sep 11, 2011

looks good.

@mikeal mikeal merged commit 2b81e29 into request:master Sep 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment