kernelsauce / turbo

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.
http://turbo.readthedocs.io/
Apache License 2.0
525 stars 84 forks source link

util.lua: fix for assign to undeclared variable "start" (in fn "strsp… #339

Closed niziak closed 5 years ago

niziak commented 5 years ago

…lit")

[web.lua] Error in RequestHandler, thread: 0x41bf7ae0 is dead.
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
/usr/local/share/lua/5.1/turbo/util.lua:46:

strict2.lua: assign to undeclared variable "start" (in fn "strsplit")

stack traceback:
    /usr/local/share/lua/5.1/turbo/httpserver.lua:251: in function
</usr/local/share/lua/5.1/turbo/httpserver.lua:212>
    [C]: in function 'xpcall'
    /usr/local/share/lua/5.1/turbo/iostream.lua:565: in function
</usr/local/share/lua/5.1/turbo/iostream.lua:556>
    [C]: in function 'xpcall'
    /usr/local/share/lua/5.1/turbo/ioloop.lua:578: in function
</usr/local/share/lua/5.1/turbo/ioloop.lua:577>
▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲
kernelsauce commented 5 years ago

Thank you.