eclipse / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
8.96k stars 2.38k forks source link

[Feature Request] Option to set TCP_QUICKACK #2433

Closed sude22 closed 2 years ago

sude22 commented 2 years ago

Mosquitto V2.0.14 DockerImage on Raspberry4

Hi, I wonder if it would make sense to have an option in the config to allow set the TCP_QUICKACK option to the socket (on LINUX systems only) like the TCP_NODELAY option. I have the problem that my MQTT client (Homie on ESP8266/async-mqtt-client) uses a message queue to send the qos1 messages one by one. So it have to wait for the ACK before sending the next message, and that leads to a delay of ~500ms between each message.

Regards

sude22 commented 2 years ago

I finally managed to see what is going on with Wireshark. It`s not mosquitto causing that delay. Sorry, please forget that feature request.