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

feat(net): allow unix sockets on windows #10377

Closed
wants to merge 4 commits into from

Conversation

AaronO
Copy link
Contributor

@AaronO AaronO commented Apr 26, 2021

Given that Windows supports unix sockets since late 2017, this PR simply removes the conditional compilation around unix sockets which should now build and work on all supported platforms.

Should fix #10244

Blocked on tokio/mio support for Windows UDS tokio-rs/tokio#2201

Unix(net_unix::UnixAddr),
#[cfg(unix)]
UnixPacket(net_unix::UnixAddr),
Copy link
Member

Choose a reason for hiding this comment

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

Unixpacket is not supported on Windows.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I suspected that might not be the case. I don't think I've seen unixpacket used anywhere TBH (not just deno, but any software project)

Copy link
Member

Choose a reason for hiding this comment

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

Probably going to get a lot more common with QUIC / HTTP/3.

@AaronO AaronO marked this pull request as draft April 26, 2021 12:23
@stale
Copy link

stale bot commented Sep 4, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 4, 2021
@stale stale bot closed this Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Named Pipes in Deno.connect
3 participants