]> granicus.if.org Git - postgresql/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:14 +0000 (17:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Aug 2003 17:58:14 +0000 (17:58 +0000)
commite8e1d4553ce7b630fe401209e205a49ba306bfb2
tree1214e0cc2804892c7bb4ce5bb020ea4d21a8e435
parent39a9496d51e64f68cb7792c7014f4a388121ec89
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