Skip to content

Commit 51764e7

Browse files
author
oleksiys
committed
[1.9.x] + fail right away
1 parent d0b7050 commit 51764e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/grizzly/FeedableBodyGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public void onStart(Connection connection) {
213213

214214
@Override
215215
public void onFailure(Connection connection, Throwable t) {
216-
onComplete(connection);
216+
HttpTransactionContext.currentTransaction(c).abort(t);
217217
}
218218

219219
public void onComplete(Connection connection) {

0 commit comments

Comments
 (0)