Skip to content

Commit

Permalink
correctly close resources on rejecting path folding at too high HTL
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab committed Mar 2, 2023
1 parent 6127bab commit 99738fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/freenet/node/RequestSender.java
Original file line number Diff line number Diff line change
Expand Up @@ -1726,6 +1726,7 @@ private boolean finishOpennet(final PeerNode next) {

if (!node.canWriteDatastoreRequest(origHTL)) {
// Do not path fold at all at high HTL.
ackOpennet(next);
return false;
}

Expand Down

0 comments on commit 99738fa

Please sign in to comment.