Skip to content

bugfix: inlined Lua code snippets in nginx.conf failed to use the Lua… #1469

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

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

agentzh
Copy link
Member

@agentzh agentzh commented Feb 5, 2019

… source checksum as part of the Lua code cache key. thanks Oleg A. Mamontov for the report in #1428.

Fix #1428.

optimize: now we exclude the current nginx config file info from the cache keys for inlined Lua code snippets in nginx config files.

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.

Copy link
Member

@thibaultcha thibaultcha left a comment

Choose a reason for hiding this comment

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

LGTM except for a minor styling issue - we will have to port the change to the meta_lua module as well.

… source checksum as part of the Lua code cache key. thanks Oleg A. Mamontov for the report in #1428.

Fix #1428.
@agentzh agentzh force-pushed the inline-lua-cache-key-fix branch from 91b7f4d to b2af4d3 Compare February 5, 2019 01:54
@agentzh
Copy link
Member Author

agentzh commented Feb 5, 2019

@thibaultcha Yes. Hopefully we can migragte to the meta lua repo soon.

@agentzh agentzh merged commit b2af4d3 into master Feb 5, 2019
@thibaultcha thibaultcha deleted the inline-lua-cache-key-fix branch September 24, 2019 22:55
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