Skip to content

Use stream close event instead of end - #867

Merged
sidorares merged 1 commit into
sidorares:masterfrom
JakeHedman:patch-1
Oct 30, 2018
Merged

sidorares merged 1 commit into
sidorares:masterfrom
JakeHedman:patch-1

Conversation

@JakeHedman

@JakeHedman JakeHedman commented Oct 30, 2018 •

Copy link
Copy Markdown
Contributor

The "Socket ended by other party error" seems to be caused by the end event not being fired in certain cases (TLS connections?). Using the close event instead makes sure that timed out connections are removed from the pool.

Related node issue(?): nodejs/node#10871

Fixes #447

sidorares#447 seems to be caused by the `end` event not being fired in certain cases (TLS connections?). Using the `close` event instead makes sure that timed out connections are removed from the pool.
@sidorares
sidorares merged commit 32a2f4e into sidorares:master Oct 30, 2018
@JakeHedman

Copy link
Copy Markdown
Contributor Author

Thanks for merging! When will this be included in a release?

@sidorares

Copy link
Copy Markdown
Owner

I'll try asap but terribly busy tonight

the only time-consuming work for release is to review all commits and add human-readable changelog, that is decide what commits can be skipped from log and what can be better worded. If you can help with that that would be great ( even as comment here ). Other than that it's 1 second npm publish command

@sidorares

Copy link
Copy Markdown
Owner

@JakeHedman published v1.6.2

@JakeHedman

Copy link
Copy Markdown
Contributor Author

@sidorares: Thank you for the release! I'm sorry about not replying to your previous comment, it must have gotten lost in my inbox.

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.

[Pool] This socket has been ended by the other party

2 participants