FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

keep RequestListener thread running when an exception occurs during c… · apache/httpcomponents-core@b296ae9 · GitHub

Repository navigation

Commit b296ae9

Browse files
authored andcommitted
keep RequestListener thread running when an exception occurs during connection creation or in worker execution
1 parent 9e93795 commit b296ae9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/RequestListener.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void run() {
135135
this.executorService.execute(worker);
136136
} catch (final IOException | RuntimeException ex) {
137137
Closer.closeQuietly(socket);
138-
throw ex;
138+
this.exceptionListener.onError(ex);
139139
}
140140
}
141141
} catch (final Exception ex) {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL