forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a6e1a5
committed
Clear retry flags properly in replacement OpenSSL sock_write function.
Current OpenSSL code includes a BIO_clear_retry_flags() step in thesock_write() function. Either we failed to copy the code correctly, orthey added this since we copied it. In any case, lack of the clear stepappears to be the cause of the server lockup after connection loss reportedin bug #8647 from Valentine Gogichashvili. Assume that this is correctcoding for all OpenSSL versions, and hence back-patch to all supportedbranches.Diagnosis and patch by Alexander Kukushkin.1 parentc6cd27e commit2a6e1a5
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
411 | 411 |
| |
412 | 412 |
| |
413 | 413 |
| |
414 |
| - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
415 | 418 |
| |
416 | 419 |
| |
417 | 420 |
| |
| |||
449 | 452 |
| |
450 | 453 |
| |
451 | 454 |
| |
| 455 | + | |
452 | 456 |
| |
453 | 457 |
| |
454 | 458 |
| |
|
0 commit comments
Comments
(0)