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

out_forward: Fix race condition with <security> on multi thread environment. fix #1878 #1893

Merged
merged 2 commits into from
Mar 15, 2018

Conversation

repeatedly
Copy link
Member

state, shared_key_nonce and auth are per request information.
Don't share these variables because Node#send_data is executed in multi thread
when flush_thread_count is larger than 2.

…onment

state, shared_key_nonce and auth are per request information.
Don't share these variables because Node#send_data is executed in multi thread
when flush_thread_count is larger than 2.
@repeatedly repeatedly added bug Something isn't working v1 labels Mar 14, 2018
@repeatedly repeatedly self-assigned this Mar 14, 2018
@repeatedly
Copy link
Member Author

@tagomoris How about this approach?

Copy link
Member

@tagomoris tagomoris left a comment

Choose a reason for hiding this comment

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

Ah, Node in this plugin isn't tied with threads...
LGTM!

@repeatedly repeatedly merged commit daf0adf into master Mar 15, 2018
@ganmacs ganmacs deleted the fix-out_forward-race-condition-with-security branch June 13, 2019 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants