{"push_id":808142934,"size":1,"distinct_size":1,"ref":"refs/heads/REL9_5_STABLE","head":"b67c9c1939f10e94186d2736039ff623dbb2ce3f","before":"ce585027ebc26554d77cde9d8f2721a8cca55381","commits":[{"sha":"b67c9c1939f10e94186d2736039ff623dbb2ce3f","author":{"email":"ffeaa947aef224da9ba99b6a18bdd74288df0e3e@sss.pgh.pa.us","name":"Tom Lane"},"message":"Fix poor errno handling in libpq's version of our custom OpenSSL BIO.\n\nThom Brown reported that SSL connections didn't seem to work on Windows in\n9.5.  Asif Naeem figured out that the cause was my_sock_read() looking at\n\"errno\" when it needs to look at \"SOCK_ERRNO\".  This mistake was introduced\nin commit 680513ab79c7e12e402a2aad7921b95a25a4bcc8, which cloned the\nbackend's custom SSL BIO code into libpq, and didn't translate the errno\nhandling properly.  Moreover, it introduced unnecessary errno save/restore\nlogic, which was particularly confusing because it was incomplete; and it\nfailed to check for all three of EINTR, EAGAIN, and EWOULDBLOCK in\nmy_sock_write.  (That might not be necessary; but since we're copying\nwell-tested backend code that does do that, it seems prudent to copy it\nfaithfully.)","distinct":true,"url":"https://api.github.com/repos/postgres/postgres/commits/b67c9c1939f10e94186d2736039ff623dbb2ce3f"}]}