Non-blocking windows connect randomly fails

Bug #1096671 reported by Andrew Hutchings on 2013-01-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle Client & Protocol Library
Andrew Hutchings

Bug Description

Problem 1 (simple to fix):

in around line 1007:


should be:

errno= translate_windows_error();

Problem 2: 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
Andrew Hutchings (linuxjedi) wrote :

Wrong about problem 2... updating

description: updated
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
Brian Aker (brianaker) wrote :

We need to probably look at this globally as well.

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  Edit
Everyone can see this information.

Other bug subscribers