Thanks!
Your patch has been applied with commit id:
0048aac81c3e4dc3046121a7124da77233656e99
Regards,
On 01/04/2021 08:44, Tony He wrote:
> Actully We can not set two options at the same time.
> Old code:
>
> setsockopt(s, SOL_SOCKET, SO_REUSEADDR | SO_REUSEPORT, &opt, sizeof(opt))
>
> If you
Actully We can not set two options at the same time.
Old code:
setsockopt(s, SOL_SOCKET, SO_REUSEADDR | SO_REUSEPORT, &opt, sizeof(opt))
If you use strace to trace sys call, you will find only SO_REUSEPORT is
set:
>setsockopt(3, SOL_SOCKET, SO_REUSEPORT, [1], 4) = 0
This is because SD_REUSEADDR