781 Commits

Author SHA1 Message Date
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
云风
b6f94e5adc redis: sismember 2013-06-21 17:07:26 +08:00
云风
d8204357a8 redis api back compatible 2013-06-21 16:09:52 +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
云风
1d2b6fb87c bugfix 2013-06-19 15:27:20 +08:00
云风
991ff14aab add comment 2013-06-18 15:40:49 +08:00
云风
48528d97ad add some comment, and free data where error 2013-06-18 15:33:06 +08:00
云风
9c1e59b690 fix typo 2013-06-17 11:55:06 +08:00
云风
0e34fdd249 Merge pull request #17 from footer/master
bug fix in gate
2013-06-16 02:58:07 -07:00
footer
e2c33c3ef6 bug fix about epoll event cache machanism: socket may be closed by a previous epoll event's processing 2013-06-16 13:04:09 +08:00
Cloud
c8b5c9ed89 bugfix in Mac OSX 2013-06-12 01:29:33 +08:00
云风
a06fca2ef6 avoid close socket duplicate 2013-06-06 14:30:00 +08:00
云风
438676c703 bugfix 2013-06-04 10:30:27 +08:00
云风
f1f40e1640 bugfix 2013-06-04 10:27:10 +08:00
云风
46e929fe33 gate readme 2013-05-26 18:07:04 +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
云风
79c92bbf10 Merge pull request #13 from hlouis/master
Fix bug in connection service
2013-04-17 00:41:39 -07:00
Louis Huang
97093e6627 Fix bug in connection service
current connection number only increase
2013-04-17 15:36:32 +08:00
云风
ff1bf76671 remove duplicate line 2013-02-16 14:34:50 +08:00
云风
1887c9ff30 bugfix: pack table when size == 31 2013-02-05 14:00:03 +08:00
云风
a1f10c29ff bugfix: connection closed 2013-02-05 11:14:45 +08:00
云风
d30b8936e3 bugfix: blockcall dispatching 2013-02-01 15:30:21 +08:00
云风
045e3d5119 bugfix: blockcall 2013-02-01 15:06:26 +08:00
云风
ea7e5f7d97 skynet.blockcall concurrent bugfix 2013-01-31 21:18:53 +08:00
云风
47de1b7f00 Merge pull request #10 from lx1988cyk/patch-1
Update connection/connection.c
2013-01-23 23:22:10 -08:00
Yongkang Chen
9fb5596921 Update connection/connection.c
according to "man epoll_ctl":
BUGS
       In kernel versions before 2.6.9, the EPOLL_CTL_DEL operation required a non-NULL pointer in event, even though this argument is ignored.  Since kernel  2.6.9,
       event can be specified as NULL when using EPOLL_CTL_DEL.
2013-01-24 15:19:50 +08:00
云风
5f12e7e3f0 Merge pull request #8 from oyjw/master
bug handle_name没有正确修改
2013-01-15 15:09:12 -08:00
oyjw
feeaaec633 Update skynet-src/skynet_handle.c 2013-01-16 06:21:44 +08:00
云风
5828cc71fa log test bugfix 2013-01-09 12:19:16 +08:00
云风
148ed20b69 bugfix: redis multi result 2013-01-06 12:53:23 +08:00
云风
ac7f67f982 batch mode in redis 2013-01-06 12:15:59 +08:00
云风
1cf9e9d1ee Merge pull request #7 from Cofyc/fixbug
BUG: expand buffer 后所取的 slot 不正确,与下次要取的 slot 是同一个 slot。
2013-01-04 02:35:24 -08:00
Yecheng Fu
6319225b7a BUG: expand buffer 后所取的 slot 不正确,与下次要取的 slot 是同一个 slot。
FIX: 先 expand,再获取 slot 并移动 tail。
2013-01-04 18:10:01 +08:00
云风
74ac9403e8 remote map table must not be weak 2013-01-03 12:59:13 +08:00
云风
c10082a2b1 close socket when connect failed 2012-12-29 10:36:53 +08:00
云风
14d84e0055 remove close in lua-socket, because socket will be closed in connection service 2012-12-29 10:32:38 +08:00
云风
193a180c73 msg here never be nil 2012-12-28 10:57:02 +08:00
云风
6bea883dbf Merge pull request #6 from Cofyc/macosx
最小化兼容处理
2012-12-20 01:54:30 -08:00
云风
b5f0d4c130 Merge pull request #5 from Cofyc/fixbug
Fixbug
2012-12-20 01:33:24 -08:00
Yecheng Fu
10eeb67128 BUG: console 里启动一个服务失败后,无法使用 abort 退出 skynet
FIX: init 模块前全局 context 计数加一,因为 init 失败后会去 release
context,此时会全局 context 计数减一。以前会因此导致全局 context
计数不准,而无法退出。
2012-12-20 17:17:21 +08:00
Yecheng Fu
0afea732d2 fixbug 应比较 handle 高 8 位 harbor id 是否与本地相等 2012-12-20 16:53:42 +08:00
Yecheng Fu
5eb87dc769 _POSIX_TIMERS & _POSIX_THREAD_CPUTIME 在 unistd.h
头文件定义,但并未包含。之前写法不正确,可以工作只是巧合。
现改为,默认使用 clock_gettime,当为 Max OSX 平台时,使用兼容方法。
2012-12-20 16:25:20 +08:00
云风
5d83155334 Create LICENSE 2012-12-13 23:27:26 -08:00
云风
8ce0211f44 Merge pull request #4 from Cofyc/macosx
Mac OSX 支持补丁
2012-11-28 20:58:08 -08:00
Yecheng Fu
6aca76ec7c fixbug timeout is in milliseconds... 2012-11-27 23:56:21 +08:00
Yecheng Fu
655a2b6acc convert spaces into tab
keep convention
2012-11-27 20:13:52 +08:00