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

Fix a possible resource leak of fd #55

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

shihai1991
Copy link
Contributor

As subject said, close fd before return NGX_ERROR

@shihai1991
Copy link
Contributor Author

shihai1991 commented Sep 18, 2019

small fix. cc @agentzh @membphis @thibaultcha

@zhuizhuhaomeng zhuizhuhaomeng merged commit 6753cc7 into openresty:master Sep 3, 2021
@shihai1991
Copy link
Contributor Author

Thanks for merge, folks :)

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.

None yet

3 participants