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(http2) fix aborted behavior #11226

Closed
wants to merge 3 commits into from
Closed

Conversation

cirospaciari
Copy link
Collaborator

@cirospaciari cirospaciari commented May 21, 2024

What does this PR do?

streamError event is not a thing, so we should not emit it, when aborted should not emit error.

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

How did you verify your code works?

Updated tests

Copy link
Contributor

github-actions bot commented May 21, 2024

@cirospaciari, your commit has failing tests :(

💪 5 failing tests Darwin AARCH64

💻 4 failing tests Darwin x64 baseline

💻 5 failing tests Darwin x64

🐧💪 1 failing tests Linux AARCH64

🐧🖥 1 failing tests Linux x64

🪟💻 13 failing tests Windows x64 baseline

🪟💻 13 failing tests Windows x64

View logs

@cirospaciari cirospaciari changed the title fix(http2) remove streamError fix(http2) fix aborted behavior May 21, 2024
@cirospaciari cirospaciari marked this pull request as draft May 21, 2024 16:20
stream.emit("aborted", error);
stream.emit("error", error_instance);
self.emit("streamError", error_instance);
stream.emit("aborted");
Copy link
Collaborator

Choose a reason for hiding this comment

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

i don't think this is right

i think it should be done inside .._destroy

@cirospaciari cirospaciari deleted the ciro/remove-streamError branch June 8, 2024 19:08
@cirospaciari cirospaciari restored the ciro/remove-streamError branch June 8, 2024 19:11
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.

None yet

2 participants