Commit Graph

1063 Commits

Author SHA1 Message Date
zhengshuxin
5723a4369f add thread_cond c++ class 2017-08-22 15:21:07 +08:00
zhengshuxin
f1fa41e523 add thread_mutex c++ class. 2017-08-22 15:20:28 +08:00
zhengshuxin
c8d1252a1c Merge branch 'master' of https://github.com/zhengshuxin/acl into github-zsx-master 2017-08-21 18:21:11 +08:00
郑树新
1e0c9de674 Merge pull request #13 from acl-dev/master
add reuseport support for fiber_server.c
2017-08-21 18:09:43 +08:00
zhengshuxin
2016e3b46a fiber_server.c can support reuseport when running alonely. 2017-08-21 17:39:48 +08:00
郑树新
8e951b957d Merge pull request #90 from zhengshuxin/master
fixed vc warning about the utf-8 format with no BOM header.
2017-08-18 23:12:01 +08:00
zsxxsz
c1cf8f09a8 fixed vc warning about the utf-8 format with no BOM header. 2017-08-18 23:08:24 +08:00
郑树新
9e667f3a89 Merge pull request #89 from zhengshuxin/master
add atomic operation and modify vc projects for adding  atomic class.
2017-08-18 22:57:39 +08:00
zhengshuxin
8f58d773b4 add atomic operation and modify vc projects for adding atomic class. 2017-08-18 22:55:31 +08:00
郑树新
9bf9a5af08 Merge pull request #88 from zhengshuxin/master
icmp module can support client and server modes.
2017-08-18 18:13:48 +08:00
zhengshuxin
1758f39c30 icmp module can support client and server modes. 2017-08-18 18:11:11 +08:00
郑树新
f760bdc92b Merge pull request #87 from zhengshuxin/master
modify icmp module
2017-08-18 10:07:19 +08:00
zhengshuxin
1569156d8a set rpm version to 3.3.0.8 2017-08-18 10:06:01 +08:00
zhengshuxin
894350e1df modify icmp module for ping 2017-08-18 10:05:11 +08:00
zhengshuxin
a96eca4956 icmp ping ok. 2017-08-17 19:07:55 +08:00
zhengshuxin
4d4aaa649b fixed one bug in icmp module. 2017-08-17 10:21:52 +08:00
zhengshuxin
3cb5678399 fixed one bug in imcp module. 2017-08-16 19:02:36 +08:00
zhengshuxin
42a8496d1d fixed one import bug in icmp module that the timeout pkt should be descarded! 2017-08-16 17:50:32 +08:00
zhengshuxin
d154cc292e avoid some gcc compiling warning. 2017-08-16 10:55:14 +08:00
zhengshuxin
50cec66b5a modify ping sample for lib_fiber 2017-08-16 10:50:37 +08:00
zhengshuxin
83d366f16a data in ping icmp pkt should be set 0 for the compatibility with somemobile router. 2017-08-15 13:37:44 +08:00
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
zhengshuxin
267bd5db63 fixed one bug in icmp_stream that should set read_ready flag to 0;
icmp_chat can be used in fiber mode;
2017-08-15 11:01:58 +08:00
zhengshuxin
f1037f97ce Merge branch 'master' of https://github.com/zhengshuxin/acl into github-zsx-master 2017-08-14 10:50:13 +08:00
zhengshuxin
c7e39fe148 modify .clang-format for acl 2017-08-14 10:49:31 +08:00
zhengshuxin
90ab69c182 add clang-format for acl 2017-08-14 10:48:51 +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
4e0d42e9fc tcp_client sample can read response from tcp_server with parameter -r 2017-08-12 20:11:17 +08:00
zhengshuxin
bef1414262 modify FAQ for ssl 2017-08-12 17:45:34 +08:00
zhengshuxin
205e5fce00 add FAQ for using SSL in acl. 2017-08-12 17:36:44 +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
7fbebad954 make master more safety for invalid configue in app service. 2017-08-11 12:15:00 +08:00
zhengshuxin
c3bf4f6b1b add some values in get_bool_ent 2017-08-11 11:38:44 +08:00
zhengshuxin
5ebdc5e223 SO_REUSEPORT not used in Centos5.x 2017-08-11 09:20:44 +08:00
zhengshuxin
92f5fade05 release 3.3.0.7 for acl rpm package 2017-08-11 09:09:38 +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
2728b4f14f add fiber test for tcp_ipc 2017-08-09 22:39:39 +08:00
zhengshuxin
ae5ea084dd add method that can get socket_stream from tcp_reader & tcp_sender. 2017-08-09 19:05:38 +08:00
郑树新
08d61b31f6 utf-8 without BOM will be warned by vc. 2017-08-09 16:15:01 +08:00
zhengshuxin
dcaec58d47 add sample tcp_server & tcp_client in lib_fiber. 2017-08-09 16:04:54 +08:00
zhengshuxin
fd56ed2b85 add lib_protocol's headers in rpm package. 2017-08-09 13:29:57 +08:00
zhengshuxin
3e32de5c57 add lib_protocol's headers in rpm package. 2017-08-09 13:22:28 +08:00
zhengshuxin
d74d97e3b7 add tcp_pool's samples in Makefile 2017-08-09 11:59:11 +08:00
zhengshuxin
b0341a138c remove master_ctl from rpm package. 2017-08-09 11:57:48 +08:00
zhengshuxin
16040c02e7 fixed one compiling error. 2017-08-09 11:53:00 +08:00
zhengshuxin
e981079948 tcp_client sample compiling error. 2017-08-09 11:51:53 +08:00
zhengshuxin
368b530f7e getopt.h should be included. 2017-08-09 11:43:32 +08:00
zhengshuxin
1cc6196861 __end is reserved in g++4.8.x's header 2017-08-09 11:41:47 +08:00