123 Commits

Author SHA1 Message Date
Cloud Wu
ac1a0a4c99 malloc hook for jemalloc and c memory info dump 2014-04-18 17:38:18 +08:00
Cloud Wu
d568e54c63 delete unused feature : group/localcast/forward, etc 2014-04-18 14:25:36 +08:00
云风
e9277dda93 Merge pull request #88 from wsk3201/fixnetpack
bugfix: netpack
2014-04-17 19:51:39 +08:00
mercury landed
2308ce3905 fixnetpack
不一定两次读完。没有读完的时候把uc放回queue。
2014-04-16 17:11:21 +08:00
Cloud Wu
6adf5435b5 Add low priority list to socket send buffer 2014-04-15 21:35:34 +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
476fd10889 netpack for gate 2014-04-13 22:43:45 +08:00
Cloud Wu
58aa7556a5 rewrite makefile, and remove luacode cache. 2014-03-26 15:13:30 +08:00
Cloud Wu
8a8353458c bugfix: Issue #77 2014-03-26 11:04:25 +08:00
Cloud Wu
1eb775a326 introduce socket.channel, and rewrite redis/mongo driver 2014-03-25 13:31:06 +08:00
Cloud Wu
b502d34da3 change api name bson.encode_order 2014-03-12 15:01:13 +08:00
Cloud Wu
7989daf9bb bugfix: mongo driver runCommand , and fix socket.close 2014-03-12 14:11:45 +08:00
云风
6ba28cd442 Do not timing response session 2014-02-27 18:19:55 +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
云风
c1e6737711 timing remote call 2014-02-23 17:13:58 +08:00
云风
6e3ef7fe09 bugfix: Issue #60 2013-12-30 19:48:30 +08:00
云风
2bf65084cd debug stat report boot time 2013-12-17 11:24:30 +08:00
云风
48f6d42264 remove feature: remote object. Issue #58 2013-12-16 11:05:49 +08:00
云风
c07f4df172 skynet.call capture error 2013-12-10 15:20:03 +08:00
云风
dca23999d0 bugfix: socket readall , clear buffer offset 2013-11-25 19:54:13 +08:00
Kezhu Wang
94c92bf16b explict return statement to suppress compiler warning 2013-11-14 01:39:02 +08:00
云风
ec13a89ee4 bugfix: lua-bson , don't dec index when pack dict 2013-11-11 20:55:02 +08:00
云风
c972b647bd error on call an invalid address 2013-09-18 17:41:25 +08:00
云风
5feaf9f593 error on untraced time 2013-09-18 16:55:30 +08:00
云风
e5e73c2efe return 0 when send to an invalid address 2013-09-18 16:42:23 +08:00
云风
ed09f28481 function:current time 2013-09-18 16:14:50 +08:00
云风
7263b3d0f9 trace throw error instead of assert in C 2013-09-16 13:01:37 +08:00
云风
36676afc03 Never throw error when sending message to invalid address 2013-09-12 16:22:49 +08:00
云风
80fe468e8e add block connect for harbor 2013-09-10 23:21:30 +08:00
云风
fc1710826d change function name 2013-09-10 16:48:23 +08:00
云风
e9eec36b47 fix typo 2013-09-04 19:57:04 +08:00
云风
dba3e1562b bugfix: socket.write return true when success 2013-08-28 17:40:01 +08:00
云风
52cf864037 some bugfix for gate/socket lib 2013-08-24 00:14:01 +08:00
云风
1fc601612c bugfix: gate start 2013-08-23 10:40:14 +08:00
云风
06ee4297df new socket lib 2013-08-22 17:28:26 +08:00
云风
a897d87e88 lua_Integer maybe a 64bit integer 2013-08-10 13:47:26 +08:00
云风
a9b80a06fc Fix typo 2013-08-09 22:58:13 +08:00
云风
1d0d2678ed mongo driver support request_id 2013-07-31 16:41:46 +08:00
云风
8c51540c8d add lua-bson 2013-07-30 14:56:08 +08:00
云风
940abe6dff add mongo driver from lua-mongo project (wip) 2013-07-30 14:51:26 +08:00
云风
1b4b46d271 add skynet.context_ptr() & noneblocking socket.close 2013-07-29 21:24:57 +08:00
云风
277b6957cb new socket service and socket lib instead of old connection, and rewrite redis lib 2013-06-21 13:02:51 +08:00
云风
0ffd9b8b8e bugfix: typo 2013-06-20 17:01:17 +08:00
云风
1887c9ff30 bugfix: pack table when size == 31 2013-02-05 14:00:03 +08:00
Yecheng Fu
5eb87dc769 _POSIX_TIMERS & _POSIX_THREAD_CPUTIME 在 unistd.h
头文件定义,但并未包含。之前写法不正确,可以工作只是巧合。
现改为,默认使用 clock_gettime,当为 Max OSX 平台时,使用兼容方法。
2012-12-20 16:25:20 +08:00
Yecheng Fu
655a2b6acc convert spaces into tab
keep convention
2012-11-27 20:13:52 +08:00
Yecheng Fu
8f29655d25 compiles on macosx 2012-11-27 20:07:50 +08:00
云风
40d2f89443 reload snlua service 2012-10-27 22:48:38 +08:00
云风
f3647338ce localcast message module 2012-10-12 14:05:22 +08:00