Open hasaafi opened 1 year ago
any help ?
again
I don't know. If this is important to you, you could run git bisect
to find the commit.
the problem here that i use an old bsp : linux 3.10 so i can't test commits between this 2 version , mosquitto need dependencies so with the newest version i can't run it on my bsp. I think that fixed in lib/net_mosq.c when they try to fixing another problem , but i can't find the commit
@hasaafi f this can't be reproduced on the latest release the issue should be closed. If so it needs much more details and to argue that there is a bug in mosquitto as opposed to a problem in your setup.
With the version 1.4.14 i found that when :
1/ plugged ethernet ( between embedded device and pc ) no need for internet or any connectivity just plugged in the ethernet cable.
2/ run mosquitto localy and in loopback :
-3/ unplugged ethernet.
=> Result : messages are buffered only when the ethernet is plugged. if i unplugged the ethernet messages are not buffered As soon as I plugged in the ethernet again, the messages are sent all at once.
when i check the mosquitto log, I found that the client use the IP of ethernet interface .
I tested with 1.5.8 version the problem is not seen . because they use the right interface( loopback interface) . which commit that fix this issue ?