We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now both Eio.Net.{connect,accept} return a socket, but I didn't find a way to e.g. set TCP_NODELAY on the stream socket. Did I miss an API?
Eio.Net.{connect,accept}
TCP_NODELAY
The text was updated successfully, but these errors were encountered:
Looks like it's missing, indeed.
I was using it originally with the HTTP benchmark, but now that sends everything in a single packet it doesn't make any difference there.
As a work-around, you can of course get the FD directly:
Unix.setsockopt (Eio_unix.FD.peek_opt ssock |> Option.get) Unix.TCP_NODELAY true;
Sorry, something went wrong.
SO_REUSEPORT
SO_REUSEADDR
Note there is an old draft PR related to this at #575.
Getting that rebased onto the current main branch would be a good start.
main
Yes, I think that PR was going in the right direction. It looks like it just never got finished.
bikallem
Successfully merging a pull request may close this issue.
Right now both
Eio.Net.{connect,accept}
return a socket, but I didn't find a way to e.g. setTCP_NODELAY
on the stream socket. Did I miss an API?The text was updated successfully, but these errors were encountered: