[ANN] ngx_openresty stable version 1.0.11.28 released!

agentzh agentzh at gmail.com
Wed Mar 28 02:32:20 UTC 2012


On Wed, Mar 28, 2012 at 3:44 AM, Aleksandar Lazic <al-nginx at 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



More information about the nginx mailing list