-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 4842: Memory leak when http_reply_access uses external_acl #424
Bug 4842: Memory leak when http_reply_access uses external_acl #424
Conversation
The ACL code updates the AccessLogEntry::reply member when an acl which is requires the ALE, like the external acls, is used. Later the Http::One::Server::handleReply member updates again the same ALE member without checking if it is already set. This is a Measurement Factory project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I expect it has remained hidden for so long because http_reply_access is not a commonly used directive, and use of external ACL in it even less so.
Http::One::Server::handleReply() sets AccessLogEntry::reply which may already be set. It is already set, for example, when the ACL code has already called syncAle() because external ACLs require an ALE. This bug was introduced by commit fbbea66. This is a Measurement Factory project.
…-cache#424) Http::One::Server::handleReply() sets AccessLogEntry::reply which may already be set. It is already set, for example, when the ACL code has already called syncAle() because external ACLs require an ALE. This bug was introduced by commit fbbea66. This is a Measurement Factory project.
Http::One::Server::handleReply() sets AccessLogEntry::reply which may already be set. It is already set, for example, when the ACL code has already called syncAle() because external ACLs require an ALE. This bug was introduced by commit fbbea66. This is a Measurement Factory project.
Http::One::Server::handleReply() sets AccessLogEntry::reply which may
already be set. It is already set, for example, when the ACL code
has already called syncAle() because external ACLs require an ALE.
This bug was introduced by commit fbbea66.
This is a Measurement Factory project.