mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
delete unused code in proxy_server.go
This commit is contained in:
parent
ce4229f2cc
commit
90382d407d
@ -45,16 +45,6 @@ const (
|
|||||||
DefaultMethodRejectRE = "^$"
|
DefaultMethodRejectRE = "^$"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
|
||||||
// ReverseProxyFlushInterval is the frequency to flush the reverse proxy.
|
|
||||||
// Only matters for long poll connections like the one used to watch. With an
|
|
||||||
// interval of 0 the reverse proxy will buffer content sent on any connection
|
|
||||||
// with transfer-encoding=chunked.
|
|
||||||
// TODO: Flush after each chunk so the client doesn't suffer a 100ms latency per
|
|
||||||
// watch event.
|
|
||||||
ReverseProxyFlushInterval = 100 * time.Millisecond
|
|
||||||
)
|
|
||||||
|
|
||||||
// FilterServer rejects requests which don't match one of the specified regular expressions
|
// FilterServer rejects requests which don't match one of the specified regular expressions
|
||||||
type FilterServer struct {
|
type FilterServer struct {
|
||||||
// Only paths that match this regexp will be accepted
|
// Only paths that match this regexp will be accepted
|
||||||
|
Loading…
Reference in New Issue
Block a user