From: Eduard Bagdasaryan Date: Tue, 20 Jul 2021 18:02:08 +0000 (+0300) Subject: Commented FwdState::cancelStep() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ffab2d576c5f2bbb46b0fc052c49af39ba9d10;p=thirdparty%2Fsquid.git Commented FwdState::cancelStep() I simply copied the existing TunnelStateData::cancelStep() comment - both these methods do the same. --- diff --git a/src/FwdState.cc b/src/FwdState.cc index 0b275a852c..994095c932 100644 --- a/src/FwdState.cc +++ b/src/FwdState.cc @@ -318,6 +318,9 @@ FwdState::~FwdState() debugs(17, 3, "FwdState destructed, this=" << this); } +/// Notify a pending subtask, if any, that we no longer need its help. We do not +/// have to do this -- the subtask job will eventually end -- but ending it +/// earlier reduces waste and may reduce DoS attack surface. void FwdState::cancelStep(const char *reason) {