SSL_read/SSL_write do not approximate the return conventions of recv()
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/be-secure.c | modified | +11 −3 |