libp2p / go-reuseport

reuse tcp/udp ports in golang
ISC License
766 stars 108 forks source link

use SO_REUSEPORT_LB on FreeBSD #106

Closed chaitanyaprem closed 1 year ago

chaitanyaprem commented 1 year ago

Added new socket option supported in freeBSD systems as per #105

Tested in macOS only. Needs to be tested on a freeBSD system to actually verify if this option is working fine or not.

chaitanyaprem commented 1 year ago

Have you tested this on an actual FreeBSD?

Installed a freeBSD VM and tested on it after addressing review comments.

marten-seemann commented 1 year ago

gofmt is unhappy.

chaitanyaprem commented 1 year ago

gofmt is unhappy.

Ah, one of those times i used vim and not vscode. Will address this. Maybe this can be added as a pre-commit hook?