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

TCP_NODELAY (IDFGH-13350) #282

Open
Totrasmek opened this issue Jul 29, 2024 · 2 comments
Open

TCP_NODELAY (IDFGH-13350) #282

Totrasmek opened this issue Jul 29, 2024 · 2 comments

Comments

@Totrasmek
Copy link

Hey there, is there a way I can turn off nagle's algorithm for my mqtt connections? It seems like this isn't exposed at the transport level.
Thanks.

@github-actions github-actions bot changed the title TCP_NODELAY TCP_NODELAY (IDFGH-13350) Jul 29, 2024
@euripedesrocha
Copy link
Collaborator

Hi @Totrasmek, you are correct that it is not possible at the moment to do it. I'll add a new API to tcp_transport to allow to apply sock options to the open socket.

While this isn't available, the workaround is to provide your implementation of custom transport that have the required configuration and use it in the mqtt client.

@Totrasmek
Copy link
Author

That is great news. Thanks @euripedesrocha. For our implementation we wikl make a custom transport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants