Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows
Date
Msg-id 392145.1603573643@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows  (Alexander Lakhin <exclusion@gmail.com>)
Responses Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows  (Alexander Lakhin <exclusion@gmail.com>)
List pgsql-bugs
Alexander Lakhin <exclusion@gmail.com> writes:
> But I'm inclined to stay on the previous level with "shutdown &&
> closesocket" as recommended for server side:
> https://docs.microsoft.com/en-us/windows/win32/winsock/graceful-shutdown-linger-options-and-socket-closure-2
> Please look at the draft patch.

If that actually fixes things, I'm okay with it --- do you find
that it prevents the test failure even with client-side delays?

            regards, tom lane



pgsql-bugs by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows
Next
From: Alexander Lakhin
Date:
Subject: Re: BUG #16678: The ecpg connect/test5 test sometimes fails on Windows