This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 259e499
committed
[[ Bug 19598 ]] Allow the same local port to be used for multiple connections on all platforms
On some platforms, the SO_REUSEADDR is insufficient to allow the same local port
to be used for multiple connections. On these platforms, the SO_REUSEPORT option
is now set.
More info can be found here:
http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t/14388707#14388707
An assertion failure on socket read has also been fixed.1 parent c3791ad commit 259e499
2 files changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
723 | 734 | | |
724 | 735 | | |
725 | 736 | | |
| |||
1133 | 1144 | | |
1134 | 1145 | | |
1135 | 1146 | | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1136 | 1156 | | |
1137 | 1157 | | |
1138 | 1158 | | |
| |||
1591 | 1611 | | |
1592 | 1612 | | |
1593 | 1613 | | |
1594 | | - | |
| 1614 | + | |
1595 | 1615 | | |
1596 | 1616 | | |
1597 | 1617 | | |
| |||
0 commit comments