Browse Source

DisconnectedClientHelper recognizes AsyncRequestNotUsableException

See gh-32341
pull/33048/head
rstoyanchev 2 years ago
parent
commit
67ba7dd1da
  1. 5
      spring-web/src/main/java/org/springframework/web/util/DisconnectedClientHelper.java

5
spring-web/src/main/java/org/springframework/web/util/DisconnectedClientHelper.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -39,7 +39,8 @@ public class DisconnectedClientHelper { @@ -39,7 +39,8 @@ public class DisconnectedClientHelper {
Set.of("broken pipe", "connection reset by peer");
private static final Set<String> EXCEPTION_TYPE_NAMES =
Set.of("AbortedException", "ClientAbortException", "EOFException", "EofException");
Set.of("AbortedException", "ClientAbortException",
"EOFException", "EofException", "AsyncRequestNotUsableException");
private final Log logger;

Loading…
Cancel
Save