WIP: Do the same block-raw-read dance in backend. ssl-reneg
authorHeikki Linnakangas <[email protected]>
Thu, 12 Feb 2015 16:58:01 +0000 (18:58 +0200)
committerHeikki Linnakangas <[email protected]>
Mon, 23 Feb 2015 11:51:07 +0000 (13:51 +0200)
commit83fd71083ec459b6b9e91abd328fc25c9efb4661
treef688166d3d0c9ed93a9c43e112455d533946119c
parent3ce8b78f214e1959e8888688305a4f625659b2a9
WIP: Do the same block-raw-read dance in backend.

This is more complicated than in the client, because the callers of
secure_write() will not automatically do a read, if the write fails.
Need to expose pq_recvbuf() and call it from secure_write(), which is
modularity violation.
src/backend/libpq/be-secure-openssl.c
src/backend/libpq/be-secure.c
src/backend/libpq/pqcomm.c
src/include/libpq/libpq.h