Conditionnal compression based on Content-Type
This commit is contained in:
parent
1f39083555
commit
3410541a2f
7 changed files with 143 additions and 25 deletions
|
@ -553,7 +553,7 @@ func (in *MiddlewareSpec) DeepCopyInto(out *MiddlewareSpec) {
|
|||
if in.Compress != nil {
|
||||
in, out := &in.Compress, &out.Compress
|
||||
*out = new(dynamic.Compress)
|
||||
**out = **in
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.PassTLSClientCert != nil {
|
||||
in, out := &in.PassTLSClientCert, &out.PassTLSClientCert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue