Kernelsauce Turbo Versions Save

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.

v2.1.3

4 years ago
  • Fixing bug where two Content-Type headers might be set in web.lua.
  • Add stat support for OSX.
  • Fix race condition in IOStream when using HTTPConnection.
  • Fix Luasocket variable name when using that backend for connections.
  • Bump http-parser to latest.
  • Gracefully handle closed connections.
  • Fixed broken client cert functionality.
  • Remove erroring in HTTPUtil when parameter is incorrectly encoded.

v2.1.2

6 years ago
  • Fix: Initial read for FFI sockets must handle closed connection (#329)
  • Fix: Struct declaration clash with ljsyscall (#321)
  • Fix: Error in IOLoop handler. attempt to index global 'bit' #316
  • Fix: Attempt to concatenate local 'strerr' (a nil value) #315
  • Fix: websocket->async: fetch:dns failed, _throw_error duplicate calls

Multiple fixes in IOSimple class:

  • Fix the error in running fail_cb in iostream
  • Fix the args of fail_cb when using iostream in dail

Thanks to everyone for contributing to ironing out some important bugs.

v2.1.1

7 years ago
  • Make LuaSec work on MacOS.
  • Fix signal.lua incorrect assignment of constant.
  • Fix for issue #310. CA Cert read from Crt file correctly.

v2.1.0

7 years ago
  • Added turbo.thread, which adds support to spawn seperate threads with communication. See turbolua.org for documentation.
  • DNS resolving is now implemented async.
  • Added pre, main and post handler functions for RequestHandler's, see examples/tablehandler.lua for example.
  • Fixes for socket handling in turbo.websocket.
  • Avoid name clashes with ljsyscall thanks to Paul Emmerich.
  • Remove string:split and string:substr overrides from turbo. Still available as turbo.util.strsplit and turbo.util.substr.

v2.0.4

8 years ago
  • Issue #238 fixed. Incorrect temp/perm redirect HTTP code.
  • Issue #240 fixed. WS upgrade issue.
  • Issue #241 fixed. WS race condition.
  • Added OSX as supported platform in rockspec.
  • ioloop.instance() now takes 1 argument, a function that will be added as a IOLoop callback and run on :start().

v2.0.3

8 years ago
  • Issue #223. Fix for inverted nested section in Mustache rendering.
  • Fix for redirect within HTTPS sites in HTTPClient.
  • Fix for intervals and timeouts in IOLoop which could fail to launch because of holes (nil's) in tables.

v2.0.2

8 years ago
  • Fix for Github issue #235. All header lookups are now done caseinsensitive for compatibility with standard.

v2.0.1

8 years ago
  • Fix for Github issue #222. HTTPClient broken for "Chunked Encoding".

v2.0.0

8 years ago

Official v2.0 release.

New since 1.1.6:

  • "make package" build target to create a LuaJIT byte code version of the framework. Reduces size substantially.
  • Improved logging of errors raised from RequestHandlers and IOLoop/IOStream callbacks.
  • Windows support via LuaSocket and LuaSec. install.bat for simple development environment added. Appveyor integration tests added for Windows CI.
  • OS X added as a supported OS through LuaSocket (Intel CPU).
  • IOSimple API. Wrapper for the IOStream which masks all yielding/callbacks etc from the user of the API.
  • Architectures: MIPSEL support, PPC64 support
  • Improved documentation, now available on readthedocs.org
  • Application "routes" now case sensitive, as opposed to case insensitive. This is why the Major version is bumped, as it may break backward compatibility for some.
  • .url attribute added to HTTPResponse object. This contains the URL that the request ended up at, including all redirects.

v2.0-beta2

8 years ago
  • LuaSec and OpenSSL is built as part of install.bat and installed on Windows, providing working SSL/TLS for Windows.
  • OS X added as a supported OS (Intel CPU).
  • Bumped version number of HTTPClient.
  • Fix for verify_ca option of Async HTTP Client. Issue #204.
  • Fix for HTTPClient HEAD requests that are redirected to site with a Content-Length greater than 0. Issue #211.
  • .url attribute added to HTTPResponse object. This contains the URL that the request ended up at, including all redirects.
  • Raising a Lua error instead of causing a segfault if someone tries to use get_url() from HTTPParser when it has not been needed with a URL to parse.
  • Readded old way to load libtffi_wrap. This is used as a fallback in addition to the new way.