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

fix the error in running fail_cb in iostream #324

Closed nijiancong closed 6 years ago

nijiancong commented 6 years ago

When i use iosimple.dial, the error occurs when dns parses failed or timeout "[Ioloop.lua] Trying to finalize a coroutine context              that there are no reference to. ", So I try fix it. But the last error is nil, because the iostream call fail_cb does not match the parameters of the upper, so I try to fix it.

kernelsauce commented 6 years ago

Thank you.