Skip to content
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

Backport for 2.0.24 #2601

Merged
merged 12 commits into from
Feb 8, 2024
Merged

Backport for 2.0.24 #2601

merged 12 commits into from
Feb 8, 2024

Conversation

xrmx
Copy link
Collaborator

@xrmx xrmx commented Feb 8, 2024

No description provided.

niol and others added 12 commits February 8, 2024 16:25
Purging the least recently used cache item relies on a linked
list maintained during cache get and set. While uwsgi is running,
this works well. But if the uwsgi process is stopped, lru_head and
lru_tail are not initialized when loading the existing cache file. As
a consequence, least recently used items never get deleted a full
cache fails to set any new keys until the cache file is deleted.

This patch properly initializes those variables.
It looks like the code works fine with ipv6 too so enable it.

Fix unbit#2577
Add a default build of uwsgi with clang, cannot do the travis profile
because at least perl headers don't compile.
@xrmx xrmx merged commit 239ea68 into unbit:uwsgi-2.0 Feb 8, 2024
28 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.

6 participants