Skip to content

Two http cache fixes#31

Merged
dutow merged 2 commits intoPercona-Lab:release-0.3from
dutow:memfix
Feb 10, 2026
Merged

Two http cache fixes#31
dutow merged 2 commits intoPercona-Lab:release-0.3from
dutow:memfix

Conversation

@dutow
Copy link
Collaborator

@dutow dutow commented Feb 10, 2026

No description provided.

Without this we create-attach-detach, and it gets destroyed after the
first connection, making the HTTP cache unusable.

This makes sure that the area remains there even when there's no active
reference to it.
Otherwise the destructor tries to do this during library unloading time,
but at that time shmem_exit already completed and we spam the error log
with allocator errors.
Copy link
Collaborator

@jeltz jeltz left a comment

Choose a reason for hiding this comment

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

Would be nice if we somehow could have a test actually using the cache too.

@dutow
Copy link
Collaborator Author

dutow commented Feb 10, 2026

Yes, but that's very difficult to setup with keycloak because of their no caching policy :( I could add a GUC to override the http headers maybe?

@dutow dutow merged commit 58d6b4a into Percona-Lab:release-0.3 Feb 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants