Skip to content

Removed superfluous code from shdict_store #1956

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

Closed
wants to merge 1 commit into from

Conversation

Miniwoffer
Copy link
Contributor

Removed superfluous copy of key, and setting key_len and value_len.

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

Removed superfluous copy of key, and setting key_len and value_len.
doujiang24 pushed a commit that referenced this pull request Oct 29, 2021
avoid setting the key_len, key_data and value_len fields since they
already have the same values when replacing the value data.
@doujiang24
Copy link
Member

Nice catch! Already merged. Thanks.

@doujiang24 doujiang24 closed this Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants