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

refactor(ext/net): clean up variadic network ops #16392

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

lucacasonato
Copy link
Member

@lucacasonato lucacasonato commented Oct 23, 2022

Previously op_net_listen, op_net_accept, and various other ops in ext/net where variadic on the transport. This created a lot of code bloat. This commit updates the code to instead have separate ops for each transport.

@lucacasonato lucacasonato force-pushed the clean_up_ext_net branch 5 times, most recently from aaf8a3b to 53c2761 Compare October 24, 2022 09:53
Previously `op_net_listen`, `op_net_accept`, and various other ops in
ext/net where variadic on the transport. This created a lot of code
bloat. This commit updates the code to instead have separate ops for
each transport.
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, nice cleanup

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

@lucacasonato lucacasonato merged commit c061538 into denoland:main Oct 24, 2022
@lucacasonato lucacasonato deleted the clean_up_ext_net branch October 24, 2022 12:55
bartlomieju added a commit to bartlomieju/deno that referenced this pull request Oct 25, 2022
bartlomieju added a commit to bartlomieju/deno that referenced this pull request Oct 25, 2022
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

3 participants