ignore-ssl-write-errors.patch
text/x-diff
Filename: ignore-ssl-write-errors.patch
Type: text/x-diff
Part: 0
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/interfaces/libpq/fe-secure-openssl.c | 4 | 0 |
diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c index 9f735ba437..11084a6a07 100644 --- a/src/interfaces/libpq/fe-secure-openssl.c +++ b/src/interfaces/libpq/fe-secure-openssl.c @@ -1697,6 +1697,10 @@ my_sock_write(BIO *h, const char *buf, int size) BIO_set_retry_write(h); break; + case EPIPE: + case ECONNRESET: + return size; + default: break; }