Commit 7e57e30
committed
Add SO_REUSEPORT to allow bind with orphaned FIN_WAIT_2 sockets
On OpenBSD, SO_REUSEADDR is not sufficient to bind when orphaned
FIN_WAIT_2 connections exist on the same local address:port (e.g.
after stopping a previous proxy). SO_REUSEPORT allows the bind
to succeed.1 parent 8f2c710 commit 7e57e30
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1656 | 1656 | | |
1657 | 1657 | | |
1658 | 1658 | | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
1659 | 1663 | | |
1660 | 1664 | | |
1661 | 1665 | | |
| |||
0 commit comments