-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Support receiveany on ngx.req.socket(true?) socks #1623
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
Conversation
|
What do you guys say? I'll fix the CI if there's intension to merge this. |
|
It seems that your changes should go to meta-lua-nginx-module instead, src/ngx_http_lua_socket_tcp.c is generated from that template. I am not familiar with openresty's code, though, and I am looking forward to the feature you proposed. Thank you! |
|
Thanks @wenxin-wang - I think you're right! I'll submit it there too |
|
Actually, it looks like development is happening here and then back-ported into the meta repo. I'll keep it here for now. |
|
That's nice to know, thank you! @GuyLewin |
t/067-req-socket.t
Outdated
| === TEST 18: receiveany | ||
| --- config | ||
| location = /t { | ||
| content_by_lua ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more thing, could you use content_by_lua_block instead of the deprecated content_by_lua directive in the new test cases? So we don't need to pay too much for the technical debt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, done
|
I don't have the right to merge it into master branch, so CC @thibaultcha to decide it. |
|
Can we merge? |
|
@GuyLewin |
|
@spacewander Hi! I am really looking forward to this feature, may I ask when will the release be created so that this can be merged? |
|
@spacewander glad to hear that! then which release will include this patch? |
|
@GuyLewin @spacewander It looks like that I ran this test on macos, is it intended to work on macos? If so, am I missing somthing? |
|
@knight42 |
PR to fix #1619