Merge pull request #74695 from qingsenLi/k8s190228-delete-code

delete unused code in proxy_server.go
k3s-v1.15.3
Kubernetes Prow Robot 2019-03-29 10:28:14 -07:00 committed by GitHub
commit a0e6bd21c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -45,16 +45,6 @@ const (
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
type FilterServer struct {
// Only paths that match this regexp will be accepted