mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-31 02:55:17 -04:00
Revert "Merge pull request #931 from pedronasser/master"
This reverts commit9ea0591951, reversing changes made to2125ae5f99.
This commit is contained in:
@@ -687,10 +687,6 @@ func (u *fakeUpstream) AllowedPath(requestPath string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (u *fakeUpstream) Transparent() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// newWebSocketTestProxy returns a test proxy that will
|
||||
// redirect to the specified backendAddr. The function
|
||||
// also sets up the rules/environment for testing WebSocket
|
||||
@@ -733,10 +729,6 @@ func (u *fakeWsUpstream) AllowedPath(requestPath string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (u *fakeWsUpstream) Transparent() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// recorderHijacker is a ResponseRecorder that can
|
||||
// be hijacked.
|
||||
type recorderHijacker struct {
|
||||
|
||||
Reference in New Issue
Block a user