Commit 79865e2
committed
fix: do a best-effort transmit on connection close
If we're shutting down ungracefully, we can make a best-effort attempt
to write the CONNECTION_CLOSE to the socket and notify the peer. If
we're in the middle of graceful shutdown, it doesn't hurt, either.1 parent ee806ab commit 79865e2
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
1712 | 1720 | | |
1713 | 1721 | | |
1714 | 1722 | | |
| |||
0 commit comments