Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
stat support was only available on Linux platform, while serving a static file requires fs.stat, which in turn invokes stat syscall, resulting in error "stdin:1: undeclared or implicit tag 'stat'"
This PR added stat support for osx (Darwin) so that serving static file works.
stat support was only available on Linux platform, while serving a static file requires fs.stat, which in turn invokes stat syscall, resulting in error "stdin:1: undeclared or implicit tag 'stat'" This PR added stat support for osx (Darwin) so that serving static file works.