You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
migrated from Bugzilla #484693
status RESOLVED severity normal in component Mosquitto for 1.4
Reported in version 1.4 on platform PC
Assigned to: Roger Light
On 2015-12-18 09:50:15 -0500, Steve Woods wrote:
The creation of the socket pair from _mosquitto_connect_init(..) fails 95% of the time as the spW = accept(...) nearly always fails with WSAEWOULDBLOCK (Resource temporarily unavailable). This means that most of the time post's are delayed by an average of 500ms. Removing the non block call to the listen socket, fixes this behaviour. See git diff below (Also has some fixes for leaks if certain phases fail)
It took a long time to replicate this, I see failures very very rarely. The problem that I see is down to _mosquitto_socket_nonblock() failing because the accept() call is incomplete - although that shouldn't matter in reality. Either way, not setting listensock as non-blocking does seem to fix it.
Thanks for the report.
On 2015-12-18 17:12:12 -0500, Roger Light wrote:
*** Bug 479143 has been marked as a duplicate of this bug. ***
The text was updated successfully, but these errors were encountered:
migrated from Bugzilla #484693
status RESOLVED severity normal in component Mosquitto for 1.4
Reported in version 1.4 on platform PC
Assigned to: Roger Light
On 2015-12-18 09:50:15 -0500, Steve Woods wrote:
On 2015-12-18 17:03:01 -0500, Roger Light wrote:
On 2015-12-18 17:12:12 -0500, Roger Light wrote:
The text was updated successfully, but these errors were encountered: