Skip to content

Commit

Permalink
gh-24 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknow0 committed Nov 25, 2023
1 parent c130ec6 commit d29db8e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private boolean fillRequest(ServletRequestImpl req) throws InterruptedException
last = i + 2;
}
req.setHeaders(map);
pendingRead.skip(last+2);
pendingRead.skip(last + 2);
return true;
}

Expand Down Expand Up @@ -290,6 +290,8 @@ private void doRun(ServletRequestImpl req, ServletResponseImpl res) throws IOExc
}

private void cleanup() {
if (Thread.currentThread().isInterrupted())
return;
running = false;
pendingRead.clear();
}
Expand Down

0 comments on commit d29db8e

Please sign in to comment.