Repository navigation
Tags
Tags
Add Serve(net.Listener) for external listener support Allows callers to provide their own net.Listener (e.g. from sing-box's listener.Listener) instead of requiring the server to create one via ListenAndServe. Follows the http.Server.Serve() convention. ListenAddr validation is moved from NewServer to ListenAndServe so Serve() callers don't need to set it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>