-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
More sockopt Flexibility in the socket spec #6803
Comments
I'm not sure the context of this request. We have a rudimentary sockets implementation as part of WASI preview 1, but it doesn't have any spec written down nor any tests in our tree, and we aren't looking to spend any additional effort on that spec or implementation (and in fact may delete it - see #6370 - are you a user? if so, can you help contribute compatibility support?). We are planning to implement https://github.com/WebAssembly/wasi-sockets very soon, which we feel is a much better spec for both users and implementors. Does that spec have the options you need? If not, lets please discuss it in that spec repo. |
Ah I wasn't aware of that other repo; I still don't see the options there, so I'll create an issue in that repo |
Ok. Just to confirm, you're not using any existing sockets functionality in the wasi-common preview 1 implementation, so you won't be affected if it gets deleted without a direct replacement, and instead have to adopt wasi-sockets in preview 2 instead? |
Yes! I explained more in WebAssembly/wasi-sockets#45 |
Feature
👋🏾 Hello! For the purposes of building something service mesh-esque using wasm, more flexible SOCK_OPT functionality in the socket interface would be extremely beneficial. The big one we use in mesh world is
SO_ORIGINAL_DST
, but there are others. How would I go about passing ~arbitrary socket options to the underlying host?Benefit
Service mesh and other networking applications can have access to more complex socket functionality on the host.
Implementation
TBD
The text was updated successfully, but these errors were encountered: