Skip to content

Commit ff3250a

Browse files
committed
Merge pull request AsyncHttpClient#966 from stsiano/1.9.x
JDK provider does not call any callback handler for some exceptions, close AsyncHttpClient#965
2 parents 8cc93b2 + 14d3ec0 commit ff3250a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/ning/http/client/providers/jdk/JDKAsyncHttpProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ public T call() throws Exception {
383383
} catch (Throwable t2) {
384384
logger.error(t2.getMessage(), t2);
385385
}
386+
asyncHandler.onThrowable(t);
386387
} finally {
387388
if (terminate) {
388389
if (config.getMaxConnections() != -1) {

0 commit comments

Comments
 (0)