mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-29 07:09:33 +00:00
cmd/tailscaled: make the outbound HTTP/SOCKS5 proxy modular
Updates #12614 Change-Id: Icba6f1c0838dce6ee13aa2dc662fb551813262e4 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
ecfdd86fc9
commit
5e698a81b6
13
feature/buildfeatures/feature_outboundproxy_enabled.go
Normal file
13
feature/buildfeatures/feature_outboundproxy_enabled.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
// Code generated by gen.go; DO NOT EDIT.
|
||||
|
||||
//go:build !ts_omit_outboundproxy
|
||||
|
||||
package buildfeatures
|
||||
|
||||
// HasOutboundProxy is whether the binary was built with support for modular feature "Outbound localhost HTTP/SOCK5 proxy support".
|
||||
// Specifically, it's whether the binary was NOT built with the "ts_omit_outboundproxy" build tag.
|
||||
// It's a const so it can be used for dead code elimination.
|
||||
const HasOutboundProxy = true
|
||||
Reference in New Issue
Block a user