]> git.ipfire.org Git - thirdparty/postgresql.git/commit
SSL_read/SSL_write do not approximate the return conventions of recv()
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Aug 2003 17:58:25 +0000 (17:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Aug 2003 17:58:25 +0000 (17:58 +0000)
commitd1f35b73acafe991b8b6a129e49045cf5f81ad2e
treed146b281cefc6bb5ae8c1b80969cc00830f0163d
parent5365a0cf52189e4c62b98077fc805f3d8a2b15b9
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.
src/backend/libpq/be-secure.c