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

fix(server) handle ignored body and node:http destroy #10268

Merged
merged 34 commits into from May 1, 2024

Conversation

cirospaciari
Copy link
Collaborator

@cirospaciari cirospaciari commented Apr 14, 2024

What does this PR do?

Fix: #10265
Fix: #10665

  • Documentation or TypeScript types (it's okay to leave the rest blank in this case)
  • Code changes

How did you verify your code works?

Copy link

github-actions bot commented Apr 14, 2024

bun.default_allocator,
);
}
readable.abort(global);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think just calling abort should be enough

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abort/cancel actually was only canceling the stream not the source, so I fixed that now.
onCancel actually only mark as done, not actually emits a error so I changed the test that I add to match this expectations.

@cirospaciari cirospaciari force-pushed the ciro/fix-server-body-deinit branch 2 times, most recently from a5891b6 to 8bb2d0f Compare April 20, 2024 16:39
Copy link

github-actions bot commented Apr 20, 2024

@cirospaciari, your commit has failing tests :(

💪 2 failing tests Darwin AARCH64

💻 2 failing tests Darwin x64

🐧💪 1 failing tests Linux AARCH64

🐧🖥 1 failing tests Linux x64 baseline

🪟💻 7 failing tests Windows x64 baseline

🪟💻 11 failing tests Windows x64

View logs

@cirospaciari cirospaciari changed the title fix(server) handle ignored body fix(server) handle ignored body and node:http destroy May 1, 2024
@cirospaciari cirospaciari marked this pull request as ready for review May 1, 2024 05:21
@Jarred-Sumner Jarred-Sumner merged commit 79c7abe into main May 1, 2024
40 of 52 checks passed
@Jarred-Sumner Jarred-Sumner deleted the ciro/fix-server-body-deinit branch May 1, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants