Files
x/listener
ginuerzh 99a0f7323d feat(listener): add SO_REUSEPORT support for TCP listeners (#654)
Add opt-in reuseport metadata option for tcp, mtcp, and redirect/tcp
listeners, allowing a GOST listener on a specific IP to coexist with
another process on the same port but different address (e.g., Nginx on
0.0.0.0:443 + GOST on 127.0.0.1:443). With SO_REUSEPORT, the kernel
routes to the most specific address match.

On Unix, sets SO_REUSEPORT via ListenConfig.Control before bind().
On Windows, the option is a no-op (SO_REUSEADDR is the default).

Closes go-gost/gost#654
2026-06-22 21:42:00 +08:00
..
2025-09-07 14:20:05 +08:00
2025-01-20 23:22:58 +08:00
2025-08-29 23:36:31 +08:00
2025-01-20 23:22:58 +08:00
2025-08-29 23:36:31 +08:00
2025-01-20 23:22:58 +08:00
2025-08-29 23:36:31 +08:00