Incorporate Docker's malformed host fix

This commit is contained in:
Adam Harrison committed 2016-11-14 15:13:19 +00:00
1 parent 8f9da95e5e
commit f73355abcc
2 files changed
+123 -1

No files matched your search

+1 -1
View File
@@ -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