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

There is no typed bind function that takes a unixDomainSocketPath #192

Open
adam-fowler opened this issue Nov 7, 2023 · 2 comments
Open

Comments

@adam-fowler
Copy link
Contributor

Expected behavior

NIOTSListenerBootstrap has all the typed bind functions that ServerBootstrap has.

Actual behavior

NIOTSListenerBootstrap.bind(unixDomainSocketPath:cleanupExistingSocketFile:serverBackPressureStrategy:childChannelInitializer:) does not exist

SwiftNIO version/commit hash

swift-nio-transport-services v1.20.0

@Lukasa
Copy link
Collaborator

Lukasa commented Nov 7, 2023

cc @FranzBusch

@FranzBusch
Copy link
Member

We haven't provided any bind methods neither EventLoopFuture based nor async that have a cleanupExistingSocketFile in transport-services since it requires to do a couple of sys calls. I am unsure if we want to add those sys calls to NIOTS here.

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

No branches or pull requests

3 participants