Hello!
On Wed, Dec 3, 2014 at 10:49 PM, vladamirsvider wrote:
> I am planning to use lua-resty-upload to stream the incoming requests to
> the backend proxy pass. and i need the responses back from the backend
>
The standard ngx_proxy module does not support streaming request at
all. So you cannot really use ngx_proxy with lua-resty-upload for
this. You should use ngx_lua's cosocket API to talk to your backend
server. Not sure if there's a ready-to-use lua-resty-http library
(based on cosockets) out there that really supports this. But it's
technically doable by the cosocket API or adjusting an existing
lua-resty-http library for it.
Regards,
-agentzh