614 Commits

Author SHA1 Message Date
云风
2a22f00bea Merge pull request #84 from cloudwu/netpack
lua version gate and new example
2014-04-14 21:25:25 +08:00
Cloud Wu
98c9059a60 c/s json protocol example 2014-04-14 21:21:47 +08:00
Cloud Wu
904b68b5a5 rewrite client demo by lua, remove old C version client demo 2014-04-14 17:04:02 +08:00
Cloud Wu
1e9a27232b rewrite watchdog/agent, use new gate 2014-04-14 14:21:31 +08:00
Cloud Wu
476fd10889 netpack for gate 2014-04-13 22:43:45 +08:00
Cloud Wu
8e92930413 move platform.mk out from makefile 2014-04-12 12:24:22 +08:00
云风
eebb7017b4 Merge pull request #82 from nopsky/master
修改harbor_init里的一个小bug #81
2014-04-09 20:33:35 +08:00
nopsky
c18ea761a4 修改harbor_init里的一个小bug 2014-04-09 19:14:54 +08:00
Cloud Wu
3be4e3c44b rewrite example testping 2014-04-04 11:50:10 +08:00
Cloud Wu
1a07e94ad5 add skynet.error 2014-04-02 16:35:24 +08:00
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