Releases: diznq/80s
Releases · diznq/80s
Aio libraries
Modules in server/ were separated into aio/lib/ as part of complementary libraries.
General refactoring + aio:quit
live_reload
is now renamed toreload_context
to better match the naming conventions inside the code.- added
net.quit(reload_context)
for exiting the worker thread
Stream handlers
You can now use aio:stream_http_X
to handle HTTP input yourself instead of relying on receiving full parsed HTTP headers with body once request comes.
This is useful for creating real-time applications or tunneling different protocols over HTTP. Useful example can be found in simple_server.lua
under /chat
endpoint.
To connect to the example, use nc -C -v localhost 8080
and type the following lines:
GET /chat HTTP/1.1
After that you should be prompted to enter your name and can use the chat
Modular extensions
Support for dynamically loading custom modules that expose on_load
and on_unload
procedures as described in README
Windows IOCP Support
- IOCP is now supported on Windows
v1.1.0
First stable release
v1.0.0 fix: orm