Merge remote-tracking branch 'origin/2.0.x' into 2.1.x
This commit is contained in:
@@ -184,6 +184,11 @@ public class SendResponseFilter extends ZuulFilter {
|
||||
}
|
||||
}
|
||||
|
||||
//cleanup ThreadLocal when we are all done
|
||||
if(buffers != null) {
|
||||
buffers.remove();
|
||||
}
|
||||
|
||||
try {
|
||||
Object zuulResponse = context.get("zuulResponse");
|
||||
if (zuulResponse instanceof Closeable) {
|
||||
|
||||
Reference in New Issue
Block a user