mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
bugfix: socket channel
This commit is contained in:
@@ -4,6 +4,7 @@ Dev version
|
|||||||
* Add optional TCP_NODELAY support
|
* Add optional TCP_NODELAY support
|
||||||
* Add worker thread weight
|
* Add worker thread weight
|
||||||
* Add skynet.queue
|
* Add skynet.queue
|
||||||
|
* Bugfix: socketchannel
|
||||||
|
|
||||||
v0.4.1 (2014-7-7)
|
v0.4.1 (2014-7-7)
|
||||||
-----------
|
-----------
|
||||||
|
|||||||
@@ -135,6 +135,9 @@ local function dispatch_by_order(self)
|
|||||||
if result ~= socket_error then
|
if result ~= socket_error then
|
||||||
errmsg = result_ok
|
errmsg = result_ok
|
||||||
end
|
end
|
||||||
|
self.__result[co] = socket_error
|
||||||
|
self.__result_data[co] = errmsg
|
||||||
|
skynet.wakeup(co)
|
||||||
wakeup_all(self, errmsg)
|
wakeup_all(self, errmsg)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user