Commit Graph

179 Commits

Author SHA1 Message Date
zsx
ac7a0d4c5b fixed bugs in acl_write_wait.c: when POLLHUP and POLLERR returned, don't return -1 2018-05-17 16:45:15 +08:00
zsx
83519e38c9 bugfix: acl_xml_parse.c 宏 IS_CDATA 判断有误 2018-04-08 14:09:11 +08:00
zsx
e22b24942f acl_unix_listen.c: won't fatal when binding UNIX addr error 2018-02-24 09:19:01 +08:00
郑树新
87b2fd1508 redis_client.cpp: add authing_ for authing in dead loop. 2018-02-05 12:04:35 +08:00
zsxxsz
6d9add27bd bugfix in lib_acl: POLLHUP | POLLERR should not be set as input parameters. 2018-02-03 21:27:21 +08:00
zsx
1dbc76dbec fixed one bug in ipc_monitor.cpp. 2018-01-30 10:02:27 +08:00
zsx
ea244a6673 master & master tools can display the version of all services 2018-01-23 18:57:29 +08:00
zsx
e7adfbb169 bugfix: fixed bugs in acl_ifconf.c's acl_ifconf_search and acl_udp_server.c 2018-01-16 11:43:35 +08:00
zsx
a004efcd70 acl_udp_server: fixed one bug for monitoring the network changing 2018-01-15 19:26:19 +08:00
zsxxsz
768d30a56c fiber for windows OS can use IO read/write with timed waiting by using select/poll;
ACL_VSTREAM's NETWORK IO read/write interface can be hooked by user's IO API.
2018-01-14 22:54:44 +08:00
zsxxsz
6b20f28844 add function giving the events count in one event loop 2018-01-09 23:37:23 +08:00
zsx
c10ef0b4d5 bugfix: fixed bug in acl_ifconf_search function. 2017-12-12 16:33:46 +08:00
zsx
f0c52f92f1 acl_mbox supports eventfd as notify handle 2017-12-12 14:02:25 +08:00
zsx
fa113a12e7 acl stream and servers support UNIX domain socket in UDP packet mode 2017-12-10 22:23:37 +08:00
zsx
a8d8f40b52 master: can start & restart one service with different extname that maybe be used for different service version 2017-11-21 16:46:39 +08:00
zhengshuxin
acb6358d13 bugfix: fixed dead lock in acl_mylog.c 2017-11-10 12:00:43 +08:00
zhengshuxin
4d43fc5ae7 acl_udp_server: can find ip addrs changing automaticlly 2017-11-09 18:58:42 +08:00
zhengshuxin
83724d3e8a valgrind: free global objects when process exiting to avoid valgrind reporting error. 2017-09-28 12:29:20 +08:00
zhengshuxin
70f4b50ee1 fixed bugs in event timer module 2017-09-21 16:00:44 +08:00
zhengshuxin
fd66d9bbc4 fixed one bug in acl_udp_server.c when sending status to master 2017-09-19 17:16:36 +08:00
zhengshuxin
8ada09778c fixed bugs in acl_dlink.c for adding continuous integers;
acl_dlink.c supports for adding negative integers.
2017-09-13 11:17:00 +08:00
zhengshuxin
025a9b29f2 make master's reload safety 2017-09-06 13:19:49 +08:00
zhengshuxin
3d02c72328 all master templates support handling SIGTERM signal. 2017-09-05 10:58:55 +08:00
zhengshuxin
3191bf51db there's one bug in acl_aqueue_pop_timedwait when computing timeout for waiting 2017-08-29 17:46:41 +08:00
zhengshuxin
85b55d4e4e acl_mbox_read's timeout use millisecond precision 2017-08-29 11:32:07 +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
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
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
93b3250ca5 add methods that get configure path 2017-07-22 21:32:21 +08:00
zhengshuxin
88eb449328 udp server template can be created with joinable mode. 2017-07-10 12:22:09 +08:00
zhengshuxin
88d6f6c44f all server templates support SIGHUP callback. 2017-07-04 23:33:28 +08:00
zhengshuxin
128df49e08 fixed bugs in acl_atomic.c 2017-07-03 17:42:55 +08:00
Zheng shuxin
d9fbd9c650 changed the web protocol for management 2017-06-26 12:34:23 +08:00
ubuntu14
dc2a42c0e6 valgrind can also check master_udp's samples in alone running mode. 2017-06-21 12:43:53 +08:00
ubuntu14
3a863cc238 add acl_host_addrinfo for resovle domain 2017-06-21 11:10:49 +08:00
ubuntu14
85f1db0b38 acl_udp_sever.c can bind addrs matching some pattern 2017-06-20 14:07:45 +08:00
zhengshuxin
f824d9b28f fixed one bug that acl_master will crached when stopping a service which is configured master_prefork > 0. 2017-06-11 17:26:17 +08:00
root
7817e3ac14 acl_master can start without any service. 2017-06-08 14:37:55 +08:00
zhengshuxin
3612489a81 ACL_TOKEN support acl_foreach 2017-06-05 12:21:02 +08:00
zhengshuxin
6bfdac5843 add acl_token_tree_word_remove in acl_token_tree.c 2017-06-03 23:45:18 +08:00
root
40954a1558 acl_master support SO_REUSEPORT in UDP mode. 2017-06-02 18:02:36 +08:00
zhengshuxin
67e2a99eee fixed one bug in websocket::make_frame_header for one memory overflow problem;
fixed one bug in connect_manager::remove
2017-05-27 10:03:58 +08:00
root
171655fa1e improve performance of acl_udp_server.c 2017-05-25 00:59:25 +08:00
zhengshuxin
3c19f24ede calling setuid in acl_master to help services written by golang to change running privilege. 2017-05-22 17:52:05 +08:00
zhengshuxin
a0f4e48d41 fixed one bug in acl_mylog.c/private_vstream.c that freeing memory corrupt. 2017-05-03 11:19:20 +08:00
zhengshuxin
47c07e2f56 add inet_ntop/inet_pton for vc2003 2017-04-23 20:27:54 +08:00