Skip to content

Commit

Permalink
fixup: Move problem identification/discussion to C++ comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rousskov committed Oct 31, 2024
1 parent 9594244 commit 9fc1ed5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/refresh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,10 @@ refreshIsStaleIfHit(const int reason)
*
* \retval 1 if STALE
* \retval 0 if FRESH
*
* Do not call this when StoreClient::didCollapse is true. XXX: Callers should
* not have to remember to check didCollapse. TODO: Refactor by adding something
* like pure virtual StoreClient::refreshCheck() with protocol specializations?
*/
int
refreshCheckHTTP(const StoreEntry * entry, HttpRequest * request)
Expand Down

0 comments on commit 9fc1ed5

Please sign in to comment.