Commit Graph

74 Commits

Author SHA1 Message Date
Chen Puqing
59e6029432 a little improvement of hashid code: move the calculation of hashcap into the hashid_init function and remove the assertions 2014-02-19 00:07:34 +08:00
Chen Puqing
224a1eebfb optimize the search of empty slot in the hashid_node array 2014-02-18 23:37:36 +08:00
云风
750e0733f3 bugfix: close socket once when harbor disconnected 2014-01-13 15:54:47 +08:00
云风
95105697ce define NOCODECACHE to disable lua code cache 2014-01-10 11:15:13 +08:00
云风
7c218a4e85 master close socket on harbor error 2014-01-06 18:10:33 +08:00
云风
fd45a3b003 fix issue #59 2013-12-19 21:52:30 +08:00
云风
40281a8853 skynet defined lua alloc 2013-12-19 17:00:07 +08:00
云风
5ccb666a8b use skynet_error for log 2013-12-18 12:25:58 +08:00
云风
4dd6e566be bugfix: pop error message when load file not exist 2013-12-17 19:57:33 +08:00
云风
45196be66a add skynet.cache lib 2013-12-17 19:18:42 +08:00
云风
8e031c1b21 cache lua code load 2013-12-17 18:26:08 +08:00
云风
2bf65084cd debug stat report boot time 2013-12-17 11:24:30 +08:00
云风
2d8b061970 add log for net building 2013-12-16 13:39:27 +08:00
云风
41ca0c92cb add log for master connecting to harbor 2013-12-16 12:16:24 +08:00
云风
747ed8bb00 add comment for service client 2013-12-13 18:07:02 +08:00
unknown
9e2568a40b hash list bug 2013-10-14 16:44:22 +08:00
云风
2d02f10396 bugfix: issue #46 2013-10-14 11:26:15 +08:00
云风
1676713b09 skynet message length limit 16M 2013-09-21 15:19:56 +08:00
云风
80fe468e8e add block connect for harbor 2013-09-10 23:21:30 +08:00
Cloud
a15b93cbcf bugfix: kqueue api 2013-09-10 21:44:32 +08:00
云风
fd67d2f968 push message back to queue before harbor connect to master 2013-09-10 18:09:04 +08:00
云风
8b4cd92ae5 bugfix: clear connected flag when update address 2013-09-03 11:57:20 +08:00
云风
1d91483369 bugfix: init connection id 2013-08-26 17:48:53 +08:00
云风
c826d4d246 bugfix: dispatch all message in one socket message 2013-08-26 14:25:42 +08:00
云风
caaa8fcdbe move databuffer and hashid out of service_gate.c 2013-08-26 13:10:42 +08:00
云风
dab0570936 fix client/watchdog 2013-08-24 00:24:29 +08:00
云风
52cf864037 some bugfix for gate/socket lib 2013-08-24 00:14:01 +08:00
云风
424c84915b remove unused source 2013-08-23 21:29:19 +08:00
云风
1fc601612c bugfix: gate start 2013-08-23 10:40:14 +08:00
云风
83db25fe92 service_harbor use skynet_socket now 2013-08-21 16:56:16 +08:00
云风
db92f4abbf socket server added 2013-08-21 15:02:23 +08:00
云风
1b4b46d271 add skynet.context_ptr() & noneblocking socket.close 2013-07-29 21:24:57 +08:00
云风
9ec4267965 improve socket lib 2013-07-24 12:16:31 +08:00
云风
4fe5f3738b remove error message: invalid socket 2013-07-24 10:55:41 +08:00
云风
61c5a4b8a9 bugfix: socket force close more than once 2013-07-23 20:36:13 +08:00
云风
300300853b 1. none blocking connect ; 2. socket.readall ; 3.socket.readline will return last line ; 4. lua service report launcher error 2013-07-22 21:09:38 +08:00
云风
f998e988dc bugfix: socket id alloc 2013-07-16 18:19:40 +08:00
云风
40c77e7739 socket read all data once 2013-06-28 19:02:50 +08:00
云风
67610a9614 exit after lua service launch failed 2013-06-28 16:39:19 +08:00
云风
c2b4a5c555 two-step launch lua service 2013-06-28 16:19:04 +08:00
云风
4878488ee3 don't copy when forward 2013-06-26 18:13:02 +08:00
云风
f01680d9a5 remove unused field 2013-06-26 15:55:44 +08:00
yinqiang
4abbad7acc fix some thing for kqueue 2013-06-22 23:27:48 +08:00
Kezhu Wang
5cec366f7c a little improvement to previous commit 2013-06-22 01:05:40 +08:00
Kezhu Wang
33ec39a21f bugfix: mistake when linking write_buffer to existing list in socket service 2013-06-21 22:55:50 +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
云风
991ff14aab add comment 2013-06-18 15:40:49 +08:00
云风
1094569c51 gate support write, and service client forward message to gate 2013-05-25 22:37:58 +08:00
云风
0f4e34a006 client : put unsend bytes into temp buffer 2013-05-23 16:59:59 +08:00
云风
fdb37bc110 Make for Freebsd 2013-05-08 17:26:43 +08:00