Skip to content

Commit 34c4b20

Browse files
committed
Ingore abort exception
1 parent 971dde1 commit 34c4b20

File tree

1 file changed

+1
-1
lines changed
  • plugins/org.eclipse.oomph.util/src/org/eclipse/oomph/internal/util

1 file changed

+1
-1
lines changed

plugins/org.eclipse.oomph.util/src/org/eclipse/oomph/internal/util/HTTPServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ protected static void sendResponse(DataOutputStream output, String status, Strin
823823
}
824824
catch (IOException ex)
825825
{
826-
if (ignoreExceptions || ex instanceof SocketException && ex.getMessage().equals("Software caused connection abort: socket write error"))
826+
if (ignoreExceptions || ex instanceof SocketException && ex.getMessage().contains("abort"))
827827
{
828828
return;
829829
}

0 commit comments

Comments
 (0)