Skip to content

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

Merged
lucacasonato merged 1 commit into
denoland:mainfrom
lucacasonato:clean_up_ext_net
Oct 24, 2022
Merged

refactor(ext/net): clean up variadic network ops#16392
lucacasonato merged 1 commit into
denoland:mainfrom
lucacasonato:clean_up_ext_net

Conversation

@lucacasonato

@lucacasonato lucacasonato commented Oct 23, 2022

Copy link
Copy Markdown
Contributor

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.

@bartlomieju bartlomieju left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, nice cleanup

@littledivy littledivy left a comment

Copy link
Copy Markdown
Member

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.

3 participants