mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
v1.0.0-rc2 (2015-3-7)
|
||||
-----------
|
||||
* Fix a bug in lua 5.3.2
|
||||
* Update sproto (fix bugs and add ud for package)
|
||||
* Fix a bug in http
|
||||
* Fix a bug in harbor
|
||||
* Fix a bug in socket channel
|
||||
* Enhance remote debugger
|
||||
|
||||
v1.0.0-rc (2015-12-28)
|
||||
-----------
|
||||
* Update to lua 5.3.2
|
||||
|
||||
@@ -607,6 +607,10 @@ local function _query_resp(self)
|
||||
while err =="again" do
|
||||
res, err, errno, sqlstate = read_result(self,sock)
|
||||
if not res then
|
||||
mulitresultset.badresult = true
|
||||
mulitresultset.err = err
|
||||
mulitresultset.errno = errno
|
||||
mulitresultset.sqlstate = sqlstate
|
||||
return true, mulitresultset
|
||||
end
|
||||
mulitresultset[i]=res
|
||||
|
||||
@@ -407,8 +407,6 @@ end
|
||||
|
||||
---------------------- UDP
|
||||
|
||||
local udp_socket = {}
|
||||
|
||||
local function create_udp_object(id, cb)
|
||||
assert(not socket_pool[id], "socket is not closed")
|
||||
socket_pool[id] = {
|
||||
|
||||
@@ -180,9 +180,10 @@ end
|
||||
local header_tmp = {}
|
||||
|
||||
local function gen_response(self, response, session)
|
||||
return function(args)
|
||||
return function(args, ud)
|
||||
header_tmp.type = nil
|
||||
header_tmp.session = session
|
||||
header_tmp.ud = ud
|
||||
local header = core.encode(self.__package, header_tmp)
|
||||
if response then
|
||||
local content = core.encode(response, args)
|
||||
|
||||
Reference in New Issue
Block a user