forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita8a983e
committed
On Windows, also call shutdown() while closing the client socket.
Further experimentation shows that commit6051857 is not sufficientwhen using (some versions of?) OpenSSL. The reason is obscure, butcalling shutdown(socket, SD_SEND) improves matters.Per testing by Andrew Dunstan and Alexander Lakhin.Back-patch as before.Discussion:https://postgr.es/m/af5e0bf3-6a61-bb97-6cba-061ddf22ff6b@dunslane.net1 parente2ebc90 commita8a983e
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
294 | 294 |
| |
295 | 295 |
| |
296 | 296 |
| |
297 |
| - | |
| 297 | + | |
| 298 | + | |
298 | 299 |
| |
299 | 300 |
| |
300 | 301 |
| |
301 | 302 |
| |
302 | 303 |
| |
303 | 304 |
| |
304 | 305 |
| |
| 306 | + | |
305 | 307 |
| |
306 | 308 |
| |
307 | 309 |
| |
|
0 commit comments
Comments
(0)