[Bug 53058] Incorrect socket reconnect behavior for DGRAM sockets

WineHQ Bugzilla wine-bugs at winehq.org
Sat May 28 20:56:35 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53058

Zeb Figura <z.figura12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |z.figura12 at gmail.com

--- Comment #2 from Zeb Figura <z.figura12 at gmail.com> ---
(In reply to Peter from comment #1)
> Created attachment 72465 [details]
> sock.c patch
> 
> This is a patch which fixes the issue as far as we can tell and there
> *shouldn't* be any unintended side effects.

Hmm, I wonder if it's the right place to solve the problem, though. I wonder if
we should never be setting DGRAM sockets to SOCK_CONNECTED state in the first
place. There are only a few places where SOCK_CONNECTED is treated differently
from SOCK_CONNECTIONLESS, but I dont think we have tests for whether any of
those should apply to connectionless sockets.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list