bugfix: socket channel

This commit is contained in:
Cloud Wu
2014-07-09 15:59:06 +08:00
parent b5e10b8f9f
commit b7c12846a0
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ Dev version
* Add optional TCP_NODELAY support
* Add worker thread weight
* Add skynet.queue
* Bugfix: socketchannel
v0.4.1 (2014-7-7)
-----------

View File

@@ -135,6 +135,9 @@ local function dispatch_by_order(self)
if result ~= socket_error then
errmsg = result_ok
end
self.__result[co] = socket_error
self.__result_data[co] = errmsg
skynet.wakeup(co)
wakeup_all(self, errmsg)
end
end