Skip to content

bugfix: unnecessary to do error check #2371

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 2 commits into from
Mar 2, 2025

Conversation

willmafh
Copy link
Contributor

ngx_http_lua_socket_push_input_data will always succeed and therefore change its signature to void return type, it's unnecessary to do error check of it.

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

zhuizhuhaomeng
zhuizhuhaomeng previously approved these changes Nov 6, 2024
@zhuizhuhaomeng
Copy link
Contributor

@willmafh willmafh changed the title fix: unnecessary to do error check bugfix: unnecessary to do error check Nov 7, 2024
@willmafh
Copy link
Contributor Author

There are build error: https://app.travis-ci.com/github/openresty/lua-nginx-module/jobs/627512678#L4413

@zhuizhuhaomeng build error fixed, ping for a second review!

@zhuizhuhaomeng zhuizhuhaomeng merged commit ee3dd98 into openresty:master Mar 2, 2025
2 of 3 checks passed
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.

2 participants