# Ngx\_lua v0.1.3: improved Solaris and Mac portability

**URL:** <https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925>\
**Category:** NGINX\
**Created:** [January 18, 2011, 5:32am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925 "2011-01-18T05:32:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [January 18, 2011, 5:32am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925/1 "2011-01-18T05:32:07Z")

</div>

Hi, folks!

I’m delighted to announce that ngx\_lua v0.1.3 has been released.

You can download the tarball from the following download page:

[https://github.com/chaoslawful/lua-nginx-module/downloads](https://github.com/chaoslawful/lua-nginx-module/downloads)

In this version, we’ve improved the config-time detection logic for  
Solaris and Mac, and there’s success report on Solaris 11. Thanks the  
great help from Vladislav Manchev.

There’s also some work for NetBSD/OpenBSD/FreeBSD systems from Piotr  
Sikora. \*BSD folks are very welcome to try it out 😉

Our main development and testing environment is 32bit and 64bit Linux  
though. Help for porting this module to more (exotic) systems will be  
highly appreciated as usual 🙂

The ngx\_lua module embeds the Lua/LuaJIT interpreter into the nginx  
core and integrates the powerful Lua threads (aka Lua coroutines) into  
the nginx event model by means of nginx subrequests. But chaoslawful  
is currently working on the “cosocket” branch of ngx\_lua that will  
emulate a common set of Lua socket API that will give you totally  
transparent non-blocking capability out of the box by means of a brand  
new upstream layer atop the nginx event model and no nginx subrequest  
overheads.

Happy Lua and nginx.conf hacking!

Cheers,  
-agentzh

---

<div class="post-metadata">

**Author:** ![agentzh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Post date:** [January 18, 2011, 5:36am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925/2 "2011-01-18T05:36:30Z")

</div>

On Tue, Jan 18, 2011 at 12:30 PM, agentzh [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi, folks!
> 
> I’m delighted to announce that ngx\_lua v0.1.3 has been released.
> 
> You can download the tarball from the following download page:
> 
> [https://github.com/chaoslawful/lua-nginx-module/downloads](https://github.com/chaoslawful/lua-nginx-module/downloads)

You can get the latest source code and full documentation from the  
ngx\_lua’s project page:

```
https://github.com/chaoslawful/lua-nginx-module/

```

Cheers,  
-agentzh

---

<div class="post-metadata">

**Author:** ![agentzh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Post date:** [January 18, 2011, 11:42am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925/3 "2011-01-18T11:42:43Z")

</div>

Hi,

On 18/01/2011 06:30, agentzh wrote:

> But chaoslawful  
> is currently working on the “cosocket” branch of ngx\_lua that will  
> emulate a common set of Lua socket API that will give you totally  
> transparent non-blocking capability out of the box by means of a brand  
> new upstream layer atop the nginx event model and no nginx subrequest  
> overheads.  
> Will this work on top of ngx\_http\_upstream, or will it be a complete  
> alternative to it?

Marcus.

---

<div class="post-metadata">

**Author:** ![agentzh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Post date:** [January 18, 2011, 6:08am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925/4 "2011-01-18T06:08:27Z")

</div>

Hi,

> There’s also some work for NetBSD/OpenBSD/FreeBSD systems from Piotr  
> Sikora. \*BSD folks are very welcome to try it out 😉

Don’t forget about DragonFly! 🙂

Best regards,  
Piotr S. \< [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) \>

---

<div class="post-metadata">

**Author:** ![agentzh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Post date:** [January 20, 2011, 7:26am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925/5 "2011-01-20T07:26:15Z")

</div>

On Tue, Jan 18, 2011 at 6:40 PM, Eugaia [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Will this work on top of ngx\_http\_upstream, or will it be a complete  
> alternative to it?

The latter 🙂

Cheers,  
-agentzh
