585 Commits

Author SHA1 Message Date
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
云风
45bc6e71f9 skynet.timing_call return last information table 2014-02-23 18:44:27 +08:00
云风
c1e6737711 timing remote call 2014-02-23 17:13:58 +08:00
云风
5944668796 driver.drop need 2 argument 2014-02-21 15:48:57 +08:00
云风
658d284521 Fix Issue #67 2014-02-21 15:18:30 +08:00
云风
758eea3583 bugfix: read cap in lock 2014-02-21 15:08:18 +08:00
云风
46febacbb9 Merge branch 'master' of github.com:cloudwu/skynet 2014-02-21 15:03:32 +08:00
云风
69e179a52e add skynet command MQLEN for debug 2014-02-21 15:03:20 +08:00
云风
989d2c67c5 Merge pull request #66 from puqing/master
optimize the search of empty slot in the hashid_node array
2014-02-21 14:11:23 +08:00
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
云风
5aeba52bf9 Merge pull request #65 from hongling0/master
fix: timer will rewind after 194 days
2014-02-18 19:44:02 +08:00
hongling0
a425ca098d timerBUG
linux系统在特定的时间点,_gettime()会溢出,timer将不会触发timeout事件
2014-02-18 19:24:59 +08:00
云风
2445d9954f Merge pull request #64 from vontio/master
add lua like path search for skynet module
2014-02-17 19:41:51 +08:00
vontio
6a16340490 add lua like path search for skynet module
path/?.so;another_path/?.so
2014-02-14 16:35:46 +08:00
云风
ac6a140130 fix typo 2014-02-06 18:33:58 +08:00
云风
750e0733f3 bugfix: close socket once when harbor disconnected 2014-01-13 15:54:47 +08:00
云风
1230ea1a17 add log when socket send blocked by large data stream 2014-01-13 11:59:33 +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