Skip to content

fix: avoid server re-use race conditions #852

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

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

alxndrsn
Copy link

@alxndrsn alxndrsn commented Mar 19, 2025

Prevents ECONNRESET when the same HTTP Server is used for more than 3 simultaneous connections.

Closes #709
Closes #844

Ref:

Checklist

  • I have ensured my pull request is not behind the main or master branch of the original repository.
  • I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
  • I have written a commit message that passes commitlint linting.
  • I have ensured that my code changes pass linting tests.
  • I have ensured that my code changes pass unit tests.
  • I have described my pull request and the reasons for code changes along with context if necessary.

Prevents ECONNRESET when the same HTTP Server is used for more than 3
simultaneous connections.

Closes forwardemail#709
Closes forwardemail#844

Ref:

* forwardemail#846
@titanism titanism merged commit de045d4 into forwardemail:master Mar 20, 2025
2 checks passed
@titanism
Copy link
Collaborator

v7.1.0 released to npm – please try it out and let us know if it works for you 🎉

https://github.com/ladjs/supertest/releases/tag/v7.1.0

Thank you for your contributions 🙏

Our efforts to maintain this project are through our work on https://forwardemail.net (@forwardemail)

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.

[fix] supertest fails with intermittent "socket hang up" in loops ECONNRESET when running "many" tests
2 participants