Commit Graph

454 Commits

Author SHA1 Message Date
Cloud Wu
7c43421784 add mongo auth support, and copy a md5 lib to 3rd 2014-04-02 14:35:17 +08:00
Cloud Wu
043311e654 bugfix: fork a new thread when message dispatch error 2014-04-01 20:58:49 +08:00
Cloud Wu
b02d07f124 throw an error only session !=0 2014-03-28 15:15:02 +08:00
Cloud Wu
f772fc4ce8 remote call will raise an error when the harbor disconnected 2014-03-28 15:08:20 +08:00
云风
aa85b2bd55 Merge pull request #78 from kezhuw/makefile_switch_compiler
simplify compiler switch
2014-03-28 14:23:37 +08:00
Kezhu Wang
d233450cb0 simplify compiler switch 2014-03-28 13:10:27 +08:00
Cloud Wu
bca009bf32 LUA_LIB can be override 2014-03-26 18:03:38 +08:00
Cloud Wu
d01a75f105 you can export PLAT first now 2014-03-26 17:54:30 +08:00
Cloud Wu
e2267a62f4 add SKYNET_BUILD_PATH to makefile 2014-03-26 16:33:23 +08:00
Cloud Wu
0985b33f0f modify lua 2014-03-26 15:58:56 +08:00
Cloud Wu
58aa7556a5 rewrite makefile, and remove luacode cache. 2014-03-26 15:13:30 +08:00
Cloud Wu
103602259a bugfix: socket.block will block socket.close 2014-03-26 14:48:28 +08:00
Cloud Wu
8a8353458c bugfix: Issue #77 2014-03-26 11:04:25 +08:00
Cloud Wu
381ab7ca96 Merge branch 'channel' of github.com:cloudwu/skynet into channel 2014-03-25 13:41:07 +08:00
Cloud Wu
05ecd61015 bugfix: mongo driver, reply result 2014-03-25 13:31:06 +08:00
Cloud Wu
911380d8b2 socketchannel is an independent mod now, channel:request will throw channel.error when disconnected. 2014-03-25 13:31:06 +08:00
Cloud Wu
20db82dc97 bugfix: auth before connected 2014-03-25 13:31:06 +08:00
Cloud Wu
90c947047c add socket.response to support redis watch mode 2014-03-25 13:31:06 +08:00
Cloud Wu
2e1de9a64a bugfix: use so:close instead of socket.close 2014-03-25 13:31:06 +08:00
Cloud Wu
1eb775a326 introduce socket.channel, and rewrite redis/mongo driver 2014-03-25 13:31:06 +08:00
Cloud Wu
fd6e9a8bd1 bugfix: coroutine pool 2014-03-25 13:30:51 +08:00
Cloud Wu
11464a3373 bugfix: mongo driver, reply result 2014-03-24 17:12:32 +08:00
Cloud Wu
1052b510ad socketchannel is an independent mod now, channel:request will throw channel.error when disconnected. 2014-03-24 16:12:02 +08:00
Cloud Wu
6c98bb2e19 bugfix: auth before connected 2014-03-24 11:14:39 +08:00
Cloud Wu
ffbc22e088 add socket.response to support redis watch mode 2014-03-23 19:46:21 +08:00
Cloud Wu
76498502df bugfix: use so:close instead of socket.close 2014-03-23 16:35:56 +08:00
Cloud Wu
255753a577 introduce socket.channel, and rewrite redis/mongo driver 2014-03-23 16:05:36 +08:00
Cloud Wu
1fdce9941b bugfix: mongo disconnect. self.__sock can't be nil because of metatable 2014-03-21 11:03:16 +08:00
Cloud Wu
55f60ab002 disable code cache by default and always register skynet.codecache 2014-03-21 10:36:54 +08:00
Cloud Wu
84ec9c4123 shift time before dispatch timer message 2014-03-14 15:05:41 +08:00
Cloud Wu
5fa3040a85 more example for echo socket service 2014-03-14 11:14:03 +08:00
Cloud Wu
c6efe2cd19 support socket.abandon / socket.start , Issue #73 2014-03-14 11:02:00 +08:00
Cloud Wu
c9358873da remove testconnection 2014-03-13 16:13:53 +08:00
Cloud Wu
b502d34da3 change api name bson.encode_order 2014-03-12 15:01:13 +08:00
Cloud Wu
b9aefc3ebc add comment for socket.close 2014-03-12 14:39:30 +08:00
Cloud Wu
7989daf9bb bugfix: mongo driver runCommand , and fix socket.close 2014-03-12 14:11:45 +08:00
云风
1a7d960a36 return string in env would be better 2014-03-01 16:26:14 +08:00
云风
89b63126db fix typo 2014-02-28 13:53:01 +08:00
云风
6ba28cd442 Do not timing response session 2014-02-27 18:19:55 +08:00
云风
66d339b398 support local command by debug_console 2014-02-25 20:38:56 +08:00
云风
0505b88f5e add debug_console service 2014-02-25 20:04:50 +08:00
云风
486da653e4 bugfix: logger service id is an uint32_t 2014-02-25 18:54:04 +08:00
云风
918433bd58 make buffer larger for number to string 2014-02-25 15:52:20 +08:00
云风
eb188eeaa3 bugfix: call lua_tolstring for bson dict key 2014-02-25 14:58:19 +08:00
云风
2166ce3c96 optimize timing call 2014-02-24 20:28:28 +08:00
云风
542163aeae bugfix: disptch 2014-02-24 18:32:01 +08:00
云风
665b2fae93 move fd_set from stack to heap (in socket_server) , It avoid FD_ZERO every time. 2014-02-24 17:03:34 +08:00
云风
4fd53c1364 socket.readall return false when disconnected 2014-02-24 16:46:49 +08:00
云风
fa09c74ffc output version in endless loop detecting 2014-02-24 12:27:31 +08:00
云风
e077bd3231 format timing result 2014-02-24 10:36:52 +08:00