Merge remote-tracking branch 'origin/2.0.x' into 2.1.x

This commit is contained in:
Ryan Baxter
2019-05-10 14:22:52 -04:00

View File

@@ -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) {