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

If emit error when max connections reties has been reached #8

Merged

Conversation

ifraixedes
Copy link
Contributor

I fixed the issue #5 which I saw after I realised of it.
I provided test for it as well.

I added the 'connect' event listener to socket to reset the connection
retries counter and 'error' emit to the transport when the maximum
connect retries is reached and the transport is 'silent' mode
I added a test to check that transport emit an 'error' message when it
reaches the maximum connection retries and it swaps to ```silent``` mode
jaakkos added a commit that referenced this pull request Nov 15, 2013
…eached

If emit error when max connections reties has been reached
@jaakkos jaakkos merged commit 0cf9bb2 into jaakkos:master Nov 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants