Ondřej Surý
ccd2902a02
Split reusing the addr/port and load-balancing socket options
...
The SO_REUSEADDR, SO_REUSEPORT and SO_REUSEPORT_LB has different meaning
on different platform. In this commit, we split the function to set the
reuse of address/port and setting the load-balancing into separate
functions.
The libuv library already have multiplatform support for setting
SO_REUSEADDR and SO_REUSEPORT that allows binding to the same address
and port, but unfortunately, when used after the load-balancing socket
options have been already set, it overrides the previous setting, so we
need our own helper function to enable the SO_REUSEADDR/SO_REUSEPORT
first and then enable the load-balancing socket option.
(cherry picked from commit fd975a551d )
2020-10-05 16:19:23 +02:00
..
2020-10-01 18:09:35 +02:00
2020-10-05 16:19:23 +02:00
2020-09-14 16:50:58 -07:00
2020-10-01 22:57:46 +10:00
2020-10-01 00:14:45 +10:00
2020-10-05 16:19:23 +02:00
2020-09-14 16:50:58 -07:00
2020-09-16 22:50:38 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-05-13 10:26:39 +10:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-17 17:35:58 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00