196 Commits

Author SHA1 Message Date
Kezhu Wang
d5e925688f bugfix: missing FREE(buffer) when socket is closing 2013-11-14 00:54:06 +08:00
Kezhu Wang
f3a23a9485 bugfix: mistake return value from send_buffer
same with SOCKET_DATA, when it is propagated to
skynet_socket_poll(), may crash the program
2013-11-14 00:42:55 +08:00
云风
0b9d7d8a62 add message queue 2013-10-30 19:30:06 +08:00
云风
63433bd69e fix issue #52 2013-10-29 14:34:33 +08:00
云风
5fda7bdc1f term socket thread , fix issue #47 2013-10-14 16:02:21 +08:00
云风
ec4ae98536 id reserve bugfix 2013-10-08 10:26:25 +08:00
云风
e402d114bf remove skynet_error length limit 2013-09-25 11:05:58 +08:00
云风
c972b647bd error on call an invalid address 2013-09-18 17:41:25 +08:00
云风
e5382cf876 fix issue #39 2013-09-17 11:19:11 +08:00
云风
2a00dc652a fix issue #39 2013-09-17 10:41:56 +08:00
云风
8743a6b030 bugfix: Issue #38 2013-09-12 13:35:23 +08:00
云风
efb8ecbe84 bugfix: Issue #37 2013-09-11 17:21:05 +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
云风
25a1f17a16 remove some unused code 2013-09-04 10:49:48 +08:00
云风
56f6e0e62d add some check for pthread api 2013-09-01 22:20:48 +08:00
云风
e1375669d0 bugfix: reset event_n to 0 when sp_wait error 2013-08-26 11:26:55 +08:00
云风
c99f9a12d8 fix comment 2013-08-23 21:01:19 +08:00
云风
1b5652e374 add cond_wait for socket message 2013-08-23 19:41:11 +08:00
云风
1fc601612c bugfix: gate start 2013-08-23 10:40:14 +08:00
云风
35b0f28fcc socket accept can do more than once for transfer 2013-08-22 18:58:52 +08:00
云风
06ee4297df new socket lib 2013-08-22 17:28:26 +08:00
云风
db92f4abbf socket server added 2013-08-21 15:02:23 +08:00
云风
97a4844094 reserved protocol type id 2013-08-19 17:15:14 +08:00
云风
dd188fd528 bugfix: don't free buffer where DONTCOPY tag was not set 2013-08-16 16:03:57 +08:00
云风
ff6e4dc762 exit monitor 2013-08-06 13:44:41 +08:00
云风
6be6a8171f session id always be positive 2013-08-02 11:05:31 +08:00
云风
ba22224a4a add QUERY command to query local service address 2013-07-29 21:05:03 +08:00
云风
5516eca93a remove xmalloc 2013-07-19 11:18:32 +08:00
云风
a018077472 sigign 2013-07-19 10:43:04 +08:00
云风
a06846710a bugfix: HARBOR should be unsigned 2013-07-15 10:36:55 +08:00
云风
52a4ef8d13 register launcher name at skynet_start 2013-07-02 10:48:22 +08:00
云风
756d7f2a93 typo 2013-06-24 14:12:40 +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
oyjw
feeaaec633 Update skynet-src/skynet_handle.c 2013-01-16 06:21:44 +08:00
云风
6bea883dbf Merge pull request #6 from Cofyc/macosx
最小化兼容处理
2012-12-20 01:54:30 -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
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
云风
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
云风
2dc3cdc932 remove read barrier 2012-10-16 10:32:21 +08:00