-
Notifications
You must be signed in to change notification settings - Fork 26
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
echo_subrequest_async with cosocket #3
Comments
On Fri, May 4, 2012 at 7:28 PM, Kaim
Which version of ngx_lua or ngx_openresty are you using? If you're not Also, could you please give a minimized but still complete config Thank you for the report! P.S. please report ngx_openresty related issues to the ngx_openresty https://github.com/agentzh/ngx_openresty/issues/ The openresty project is for the old Perl implementation for OpenResty. Thanks! |
configure file; |
Wrong project. The old openresty is dead. |
Hi,
I'm reading incoming content of nginx with cosocket, like this :
local clientsock = ngx.req.socket()
...
local req_body, err, partial = clientsock:receive(2048)
...
And then I call an async method with the req_body, for each stream:
echo_subrequest_async PUT /test -q 'md5=$arg_md5' -b $echo_request_body;
But after one request done I got this error:
2012/05/04 13:12:42 [error] 20906#0: *1 lua socket read timed out while sending to client, client: 1.2.3.4, server: , request: "PUT /file.tgz HTTP/1.1", host: "xxxx"
With echo_subrequest it works good.
Any idea? :)
Thx
The text was updated successfully, but these errors were encountered: