Fix logic error: If connect() returns -1 and errno equals EINPROGRESS or EWOULDBLOCK, it is actually success. Fixing this bug allows media updates to work on LG TV (and possibly other devices too).
A better solution is this merge request, which both fixes the error and also prevents leaked socket handles: https://sourceforge.net/p/minidlna/git/merge-requests/38/
Log in to post a comment.
A better solution is this merge request, which both fixes the error and also prevents leaked socket handles:
https://sourceforge.net/p/minidlna/git/merge-requests/38/