Hello!
On Mon, Jul 14, 2014 at 5:14 AM, Jerome Lafon wrote:
> We have always the same error message using the resty upload module with
> files that are bigger than 1MB:
> lua tcp socket read timed out.
>
I cannot reproduce such timeout errors on my side with a minimal 1MB
multipart test request.
> Has someone an idea about how to set correctly the Lua code or nginx in
> order to avoid that issue?
>
One suggestion is to use larger timeout threshold via the
set_timeout() method. Also, ensure you're using the latest version of
everything involved (like lua-resty-upload and ngx_lua).
If you still think it is lua-resty-upload's fault, please provide a
minimal and standalone example with precise steps that can reproduce
the problem on others' boxes (in particular, my box) :) Also, please
always provide the versions of all the related software you're using
while reporting a problem :)
Thanks!
-agentzh