Non-blocking windows connect randomly fails

Bug #1096671 reported by Andrew Hutchings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle Client & Protocol Library
Fix Released
High
Andrew Hutchings

Bug Description

Problem 1 (simple to fix):

in conn.cc around line 1007:

translate_windows_error();

should be:

errno= translate_windows_error();

Problem 2:

conn.cc switch statement around 1188 doesn't handle EINPROGRESS

Related branches

Changed in libdrizzle:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Brian Aker (brianaker)
milestone: none → 5.1.2
Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

Wrong about problem 2... updating

description: updated
Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

problem 2 is WSAEWOULDBLOCK should be EAGAIN in windows.hpp

Changed in libdrizzle:
assignee: Brian Aker (brianaker) → Andrew Hutchings (linuxjedi)
Changed in libdrizzle:
status: Triaged → Fix Released
Revision history for this message
Brian Aker (brianaker) wrote :

We need to probably look at this globally as well.

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

problem 2 was a global one (in the read state code). I fixed it there.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.