Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeCometTransport: clear request timeout on request error #141

Merged
merged 2 commits into from
Sep 30, 2015

Conversation

SimonWoolf
Copy link
Member

Fixes d5fc19a.

(The connectionmanager doesn't know about the transport till it calls the preconnect callback, which it never does if the initial connect fails - which is fine, it's just the transport wasn't clearing the timeout when it got a 404)

@paddybyers not sure if the transport should also dispose() itself if the connect request errors (ie put a self.dispose() in here), wdyt?

@paddybyers
Copy link
Member

put a self.dispose() in here), wdyt?

yes.

otherwise lgtm

@mattheworiordan
Copy link
Member

Nice, good spot @SimonWoolf

@SimonWoolf SimonWoolf merged commit 62a813a into master Sep 30, 2015
SimonWoolf added a commit that referenced this pull request Sep 30, 2015
@mattheworiordan mattheworiordan deleted the nodecomettimeout branch September 30, 2015 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants