Incorporate Docker's malformed host fix
This commit is contained in:
1 parent
8f9da95e5e
commit
f73355abcc
2 files changed
+123
-1
No files matched your search
+1
-1
@@ -378,7 +378,7 @@ func (proxy *Proxy) listen(protoAndAddr string) (net.Listener, string, error) {
|
||||
Log.Fatalf("Invalid protocol format: %q", proto)
|
||||
}
|
||||
|
||||
return listener, fmt.Sprintf("%s://%s", proto, addr), nil
|
||||
return &MalformedHostHeaderOverride{listener}, fmt.Sprintf("%s://%s", proto, addr), nil
|
||||
}
|
||||
|
||||
// weavedocker.ContainerObserver interface
|
||||
|
||||
Reference in new issue
Block a user