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

Error detection for the flashSocket net server #69

Merged
1 commit merged into from
Oct 6, 2010
Merged

Error detection for the flashSocket net server #69

1 commit merged into from
Oct 6, 2010

Conversation

3rd-Eden
Copy link
Contributor

@3rd-Eden 3rd-Eden commented Oct 6, 2010

Captures ECONNRESET issues so they don't bubble up to the uncaught exception handler in node.js
Also reduced the amount of .writes needed.
And because we now close down the connection on error.. we also need to check the socket's readyState if we can write to it.

This is needed because when a error occures we close down the connection,
and the stream will become unwriteable.
Also changed to a single write instead of multiple writes.
darrachequesne added a commit that referenced this pull request Jul 8, 2024
darrachequesne pushed a commit that referenced this pull request Jul 8, 2024
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This pull request was closed.
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.

1 participant