formatting
This commit is contained in:
@@ -121,8 +121,7 @@ public class NettyWriteResponseFilter implements GlobalFilter, Ordered {
|
||||
|
||||
private void cleanup(ServerWebExchange exchange) {
|
||||
Connection connection = exchange.getAttribute(CLIENT_RESPONSE_CONN_ATTR);
|
||||
if (connection != null && connection.channel().isActive()
|
||||
&& !connection.isPersistent()) {
|
||||
if (connection != null && connection.channel().isActive() && !connection.isPersistent()) {
|
||||
connection.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user