On Wed, Mar 28, 2012 at 3:44 AM, Aleksandar Lazic <al-nginx@none.at> wrote:
> Can I use
>
> http://w3.impa.br/~diego/software/luasocket/
>
No :)
> or is this blocking, I think so?!
>
LuaSocket will be blocking in the context of ngx_lua.
But ngx_lua's cosocket API is intentionally designed to be compatible
with the LuaSocket API (and also with some useful functionality
additions). See
http://wiki.nginx.org/HttpLuaModule#ngx.socket.tcp
Best regards,
-agentzh
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx