Skip to content

Commit

Permalink
gh-30 fix last error ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknow0 committed May 19, 2024
1 parent 20f0cbc commit 0b5c05a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ public final void process() {

@Override
public final boolean isClosed() {
return exec.isDone();
if (!exec.isDone())
return false;
if (co.pendingRead.isEmpty())
return true;
exec = co.submit(new Http11Worker(co));
return false;
}

@Override
Expand Down

0 comments on commit 0b5c05a

Please sign in to comment.