Skip to content

bugfix: nginx crashed when reading request body in multiple light thr… - #2451

Closed
zhuizhuhaomeng wants to merge 1 commit into
masterfrom
crash-req-body
Closed

zhuizhuhaomeng wants to merge 1 commit into
masterfrom
crash-req-body

Conversation

@zhuizhuhaomeng

Copy link
Copy Markdown
Contributor

…ead.

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

@Masterlvng

Copy link
Copy Markdown
Contributor

Concurrent calls to read_body are actually an inappropriate usage pattern. Therefore, it is quite appropriate to check within the read_body implementation whether another thread is currently calling read_body.

@zhuizhuhaomeng

Copy link
Copy Markdown
Contributor Author

This issue has been fixed.

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