[Bug 38294] New: select() does not report exception on socket after non-blocking connect() fails
https://bugs.winehq.org/show_bug.cgi?id=38294 Bug ID: 38294 Summary: select() does not report exception on socket after non-blocking connect() fails Product: Wine Version: 1.7.22 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs(a)winehq.org Reporter: dwmw2(a)infradead.org Distribution: --- See http://cr.yp.to/docs/connect.html for a discussion of non-blocking socket connect(). It's not quite right for Windows; under Windows when the connect fails, select() will mark it in the exceptfds and *not* the writefds. Under wine, however, it doesn't marked in *either* set of fds and select() just hangs for ever. Seen with the OpenConnect VPN client, when connecting to any port that doesn't accept a connection. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=38294 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Blocks| |9425 Ever confirmed|0 |1 --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> --- We are aware of that, we have tests confirming the windows behavior but it will take a bit longer to fix. Thanks for the report. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=38294 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|wine-bugs(a)winehq.org |00cpxxx(a)gmail.com --- Comment #2 from Bruno Jesus <00cpxxx(a)gmail.com> --- Taking to myself since I'm working on similar stuff and can take a look. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=38294 --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> --- Should be fixed by http://source.winehq.org/git/wine.git/commitdiff/b2556a2c34f36c0c82f028dbf24... Please try again in git, I would try but I could not find a Windows build of the OpenConnect VPN client. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=38294 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b2556a2c34f36c0c82f028dbf24 | |acb1ed77cce29 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Bruno Jesus <00cpxxx(a)gmail.com> --- Assuming fixed by b2556a2c34f36c0c82f028dbf24acb1ed77cce29. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=38294 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.44. -- 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.
participants (1)
-
wine-bugs@winehq.org