aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/common.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-01-06 20:06:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-01-06 20:06:58 +0000
commit4717992b4e6b3c752b8e07465011fe68da7e32b8 (patch)
tree27f1e73d0489cee7c48c534f381128058b4845cc /src/bin/scripts/common.c
parenta3f98d579534721d8c2aa890c8dda678f14098d8 (diff)
downloadpostgresql-4717992b4e6b3c752b8e07465011fe68da7e32b8.tar.gz
postgresql-4717992b4e6b3c752b8e07465011fe68da7e32b8.zip
Instead of a bare recv() to read the server's response to an SSL
request packet, use pqReadData(). This has the same effect since conn->ssl isn't set yet and we aren't expecting more than one byte. The advantage is that we will correctly detect loss-of-connection instead of going into an infinite loop. Per report from Hannu Krosing.
Diffstat (limited to 'src/bin/scripts/common.c')
0 files changed, 0 insertions, 0 deletions