forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitea5ecda
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 parentb6360aa commitea5ecda
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
290 |
| - | |
| 290 | + | |
| 291 | + | |
291 | 292 |
| |
292 | 293 |
| |
293 | 294 |
| |
294 | 295 |
| |
295 | 296 |
| |
296 | 297 |
| |
297 | 298 |
| |
| 299 | + | |
298 | 300 |
| |
299 | 301 |
| |
300 | 302 |
| |
|
0 commit comments
Comments
(0)