smallnest / rpcx

Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!
https://rpcx.io
Other
8.08k stars 1.16k forks source link

win下使用reuseport提供提示 #798

Closed summer-boythink closed 1 year ago

summer-boythink commented 1 year ago

https://github.com/rpcxio/rpcx-examples/blob/master/reuseport/server/server.go

对于在windows下直接使用reuseport通信方式,会直接退出server

是否应该加一个提示,然后把reuseport方式,默认的改成普通tcp方式,保持其不退出

smallnest commented 1 year ago

这个不会。 如果用户使用resuseport应该了解resuseport的北京。 替换成tcp设置和运行就不一致了

summer-boythink commented 1 year ago

这个不会。 如果用户使用resuseport应该了解resuseport的北京。 替换成tcp设置和运行就不一致了

好的,感谢