Skip site navigation (1) Skip section navigation (2)

pgsql: On win32, retry reading when WSARecv returns WSAEWOULDBLOCK.

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: On win32, retry reading when WSARecv returns WSAEWOULDBLOCK.
Date: 2007-06-04 13:39:41
Message-ID: 20070604133941.81A419FB6DB@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
On win32, retry reading when WSARecv returns WSAEWOULDBLOCK. There seem
to be cases when at least Windows 2000 can do this even though select
just indicated that the socket is readable.

Per report and analysis from Cyril VELTER.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/port/win32:
        socket.c (r1.14.2.2 -> r1.14.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32/socket.c.diff?r1=1.14.2.2&r2=1.14.2.3)

pgsql-committers by date

Next:From: Magnus HaganderDate: 2007-06-04 13:48:29
Subject: pgsql: Oops.
Previous:From: Magnus HaganderDate: 2007-06-04 13:39:34
Subject: pgsql: On win32, retry reading when WSARecv returns WSAEWOULDBLOCK.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group