mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
bugfix: socket channel
This commit is contained in:
@@ -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)
|
||||
-----------
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user