Commit bc2e70a
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 bc2e70a
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
1236 | 1244 | | |
1237 | 1245 | | |
1238 | 1246 | | |
| |||
1709 | 1717 | | |
1710 | 1718 | | |
1711 | 1719 | | |
| 1720 | + | |
1712 | 1721 | | |
1713 | 1722 | | |
1714 | 1723 | | |
| |||
0 commit comments