Skip to content

Commit 67ba7dd

Browse files
committed
DisconnectedClientHelper recognizes AsyncRequestNotUsableException
See gh-32341
1 parent 7b3fcf2 commit 67ba7dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,7 +39,8 @@ public class DisconnectedClientHelper {
3939
Set.of("broken pipe", "connection reset by peer");
4040

4141
private static final Set<String> EXCEPTION_TYPE_NAMES =
42-
Set.of("AbortedException", "ClientAbortException", "EOFException", "EofException");
42+
Set.of("AbortedException", "ClientAbortException",
43+
"EOFException", "EofException", "AsyncRequestNotUsableException");
4344

4445
private final Log logger;
4546

0 commit comments

Comments
 (0)