云风
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
Yecheng Fu
8f29655d25
compiles on macosx
2012-11-27 20:07:50 +08:00
云风
b6314b537f
skynet abort
2012-11-08 14:57:51 +08:00
云风
37d8020155
gc after init snlua
2012-11-01 13:10:57 +08:00
云风
3fe87f04c2
remove assert in global mq
2012-10-30 16:53:06 +08:00
云风
40d2f89443
reload snlua service
2012-10-27 22:48:38 +08:00
云风
88c2af4884
bugfix: double free
2012-10-26 22:36:05 +08:00
云风
0ff2cf604c
bugfix: cast empty group
2012-10-22 21:56:01 +08:00
云风
022b034c6a
bugfix: socket block write
2012-10-18 16:27:53 +08:00
云风
ec325c73b2
bugfix: block write
2012-10-18 16:12:25 +08:00
云风
d16e00ee39
use nonblock write in lua socket
2012-10-18 14:02:11 +08:00
云风
491a8cd29b
close fd when write failed
2012-10-18 13:47:53 +08:00
云风
9c6309ed71
return string after socket.write error
2012-10-18 12:08:05 +08:00
云风
2dc3cdc932
remove read barrier
2012-10-16 10:32:21 +08:00