SSL_read/SSL_write do not approximate the return conventions of recv()

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d1f35b73acafe991b8b6a129e49045cf5f81ad2e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-08-04T17:58:25Z
Releases: 7.3.5
SSL_read/SSL_write do not approximate the return conventions of recv()
and send() very well at all; and in any case we can't use retval==0
for EOF due to race conditions.  Make the same fixes in the backend as
are required in libpq.

Files

PathChange+/−
src/backend/libpq/be-secure.c modified +11 −3