File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ public final void onDisconnect() {
580580 final Command command = ioSession .poll ();
581581 if (command != null ) {
582582 if (command instanceof ExecutableCommand ) {
583- ((ExecutableCommand ) command ).failed (new ConnectionClosedException ());
583+ ((ExecutableCommand ) command ).failed (new RequestNotExecutedException ());
584584 } else {
585585 command .cancel ();
586586 }
@@ -666,7 +666,7 @@ public final void onException(final Exception cause) {
666666 final Command command = ioSession .poll ();
667667 if (command != null ) {
668668 if (command instanceof ExecutableCommand ) {
669- ((ExecutableCommand ) command ).failed (new ConnectionClosedException ());
669+ ((ExecutableCommand ) command ).failed (new RequestNotExecutedException ());
670670 } else {
671671 command .cancel ();
672672 }
You can’t perform that action at this time.
0 commit comments