Skip to content

Conversation

@serrislew
Copy link
Contributor

06a99bb causes a leak of CacheVConnection objects.

CacheVC::recursive already used for user callback do_io_read/do_io_write/do_io_close/calluser/callcont and die() is only called if value is 0

Seems like using same value for CacheVC::openReadStartEarliest recursive checks can increase above value and skips the die() call. Decoupling for different use cases

@serrislew serrislew requested a review from masaori335 December 22, 2025 17:41
Copy link
Contributor

@bneradt bneradt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Just to check: I don't see read_recursive being initialized. I assume read_recursive is initialized by some memset(0) call somewhere along with the other members?

@serrislew
Copy link
Contributor Author

memset is called CacheVC() initialization in CacheVC.cc

@serrislew serrislew self-assigned this Dec 31, 2025
@serrislew serrislew added this to the 10.2.0 milestone Dec 31, 2025
@serrislew serrislew merged commit bf1ef91 into apache:master Jan 2, 2026
15 checks passed
@github-project-automation github-project-automation bot moved this to For v10.1.1 in ATS v10.1.x Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: For v10.1.1

Development

Successfully merging this pull request may close these issues.

2 participants