Commit Graph

309 Commits

Author SHA1 Message Date
zhengshuxin
be7629ced2 add acl_read_xxx_wait with milliseconds;
icmp ping supports timeout and delay with milliseconds;
2017-08-15 12:17:57 +08:00
zsxxsz
b1fe62649f change charset of comments from utf-8 to gbk. 2017-08-13 22:53:52 +08:00
zhengshuxin
db7ca4ff38 add comments in acl_atomic.h 2017-08-13 22:41:35 +08:00
zhengshuxin
8bb4c91b58 add return value to show the result of acl_chroot_uid than just broken when error happened. 2017-08-11 21:41:26 +08:00
zhengshuxin
5ebdc5e223 SO_REUSEPORT not used in Centos5.x 2017-08-11 09:20:44 +08:00
zhengshuxin
fe44b078fc TCP_FASTOPEN can be used by setting the master_fastopen item in servers' configure files 2017-08-10 11:46:02 +08:00
zhengshuxin
1915852bd9 SO_REUSEPORT can be used in master server framework by setting configure item 2017-08-10 11:35:52 +08:00
zhengshuxin
3203318ea9 when user's input is NULL in acl_vstring_sprintf, etc, null will be handled safely. 2017-08-07 11:09:00 +08:00
zsxxsz
e17f78dcec fixed one bug in acl_threads_server.c when serv_timeout was called the sequence of args was invalid. 2017-07-31 17:19:35 +08:00
zhengshuxin
0b9f6bd0a8 fixed bugs in server templates for windows. 2017-07-31 16:08:01 +08:00
zhengshuxin
443e94d3d9 fixed one bug in trigger server template that __conf_file should be used than conf_file_ptr. 2017-07-24 22:04:08 +08:00
zhengshuxin
93b3250ca5 add methods that get configure path 2017-07-22 21:32:21 +08:00
郑树新
e397581179 fixed compiling warning for Android Studio 2017-07-21 16:05:45 +08:00
郑树新
5b406b6115 building for Android studio 2.3.3 2017-07-20 10:59:28 +08:00
zhengshuxin
6a6616a590 remove master/framework dir from CMakeLists.txt 2017-07-19 17:46:50 +08:00
zhengshuxin
66a35c5837 add configure item in master's protocol;
fixed warning on MACOSX
2017-07-17 15:30:52 +08:00
zsx
b1dfd6bdd3 fixed some compiling error&warning on xcode. 2017-07-17 15:06:02 +08:00
zhengshuxin
8a80dce9bb On MacOS, let POLLIN checking first in acl_read_wait.c. 2017-07-17 11:03:42 +08:00
zsx
975767b856 disable reseting optind, optarg, opterr on MacOS 2017-07-17 10:29:20 +08:00
zhengshuxin
ddee9c8d69 invalid charset in acl_vstream.h 2017-07-11 18:03:45 +08:00
zhengshuxin
eab3f85c17 fixed one net bug in FreeBSD 2017-07-11 15:58:21 +08:00
zhengshuxin
75095f5227 fixed some building error in FreeBSD with cmake 2017-07-11 15:18:41 +08:00
zhengshuxin
3709d8c88b can be build on gcc4.1 or gcc7.1 2017-07-10 19:20:50 +08:00
zhengshuxin
9ac697ecbe build acl project successfully by gcc7.1.0 2017-07-10 15:26:12 +08:00
zhengshuxin
88eb449328 udp server template can be created with joinable mode. 2017-07-10 12:22:09 +08:00
郑树新
97a16bfc39 compiling warning by gcc7.1 2017-07-10 10:47:56 +08:00
郑树新
2b38278ca9 change STACK_SIZE from 64K to 128K;
let acl_var_fiber_stack_size can control fiber_sleep's stack size in lib_fiber/c/src/master/fiber_server.c
2017-07-07 10:24:38 +08:00
郑树新
677b7ad053 delete samples. 2017-07-06 10:14:13 +08:00
zhengshuxin
1acef3bc6e udp server will call bind callback. 2017-07-05 15:16:30 +08:00
zhengshuxin
99660d0734 add proc_on_bind in master_udp class 2017-07-05 14:31:18 +08:00
zhengshuxin
98d11361bb test sighup callback ok for all server template. 2017-07-05 10:27:33 +08:00
zhengshuxin
643609a33a fixed some compile error 2017-07-05 00:01:22 +08:00
zsxxsz
a8ffa2a556 compile on vc 2017-07-04 23:55:29 +08:00
zhengshuxin
88d6f6c44f all server templates support SIGHUP callback. 2017-07-04 23:33:28 +08:00
郑树新
25a6e4cf15 add dist/lib/win32 path for win32. 2017-07-03 18:17:03 +08:00
zhengshuxin
4b3d13b670 acl_atomic_int64_add_fetch can support Windows 2017-07-03 17:49:51 +08:00
zhengshuxin
128df49e08 fixed bugs in acl_atomic.c 2017-07-03 17:42:55 +08:00
zhengshuxin
d6385832d6 add ACL_ATOMIC_CLOCK object for statics of running status 2017-07-03 14:40:06 +08:00
zhengshuxin
23080968f0 fiber_server.c supports running in multi-threads mode. 2017-07-02 23:10:17 +08:00
zhengshuxin
fda8a3077e don't compile samples written with multi-server template. 2017-07-02 20:24:14 +08:00
Zheng Shuxin
f8cb1566ca init getopt's variables for multi-call. 2017-06-27 17:07:57 +08:00
Zheng shuxin
d9fbd9c650 changed the web protocol for management 2017-06-26 12:34:23 +08:00
zhengshuxin
47e38ca99f netdb.h should be included for getaddrinfo. 2017-06-24 22:37:35 +08:00
Zheng shuxin
259a06a799 modify Makefile 2017-06-22 18:57:00 +08:00
Zheng shuxin
e1b8776136 acl_udp_server.c: how to solve exiting? 2017-06-22 14:37:40 +08:00
Zheng Shuxin
b2c2cd4a1c acl_udp_server.c is OK! 2017-06-22 12:40:57 +08:00
郑树新
ce8d5cda9c acl_udp_server.c can be compiled on vc 2017-06-22 12:26:14 +08:00
Zheng Shuxin
3c86372490 modify acl_udp_server.c 2017-06-22 12:21:54 +08:00
郑树新
109b498110 add atomic add 2017-06-22 11:03:07 +08:00
zhengshuxin
3442778120 add acl_sane_bind.c into xcode project. 2017-06-21 22:41:50 +08:00