Something went wrong. Try again.
forked from tailscale/tailscale
Something went wrong. Try again.
1234567891011121314151617181920212223242526// Copyright (c) Tailscale Inc & contributors// SPDX-License-Identifier: BSD-3-Clause
//go:build linux
package tshttpproxy
import ( "net/http" "net/url"
"tailscale.com/feature/buildfeatures" "tailscale.com/version/distro")
func init() { sysProxyFromEnv = linuxSysProxyFromEnv}
func linuxSysProxyFromEnv(req *http.Request) (*url.URL, error) { if buildfeatures.HasSynology && distro.Get() == distro.Synology { return synologyProxyFromConfigCached(req) } return nil, nil}