aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-12-30 03:45:53 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-12-30 03:45:53 +0000
commiteb63765a389b020a86fd04cf9333027d37b8f572 (patch)
treea791678ee59da015296aa7eff1052ef34f77f726 /src/backend/regex
parentb1ffbaeddcd05f61b0ad115ec3c13b2a1c65d721 (diff)
downloadpostgresql-eb63765a389b020a86fd04cf9333027d37b8f572.tar.gz
postgresql-eb63765a389b020a86fd04cf9333027d37b8f572.zip
Set errno to zero before invoking SSL_read or SSL_write. It appears that
at least in some Windows versions, these functions are capable of returning a failure indication without setting errno. That puts us into an infinite loop if the previous value happened to be EINTR. Per report from Brendan Hill. Back-patch to 8.2. We could take it further back, but since this is only known to be an issue on Windows and we don't support Windows before 8.2, it does not seem worth the trouble.
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions