Commit Graph

154 Commits

Author SHA1 Message Date
zsx
16d40465f8 acl_master: can save command info into log file. 2018-03-21 19:00:58 +08:00
zsx
76aa09c97f rpm package: move acl-master.json from acl-master to acl-tools 2018-03-15 15:00:08 +08:00
zsx
8aecd4b67b rm acl-tools package from CI. 2018-03-07 13:31:37 +08:00
zsx
a6515afd23 add master version control by web service from master_ctld 2018-02-27 11:24:15 +08:00
zsx
93a50ea074 add version for acl_master 2018-02-27 11:10:53 +08:00
zsx
5546b3a201 rpm version to 3.3.0-80 2018-02-26 13:22:12 +08:00
zsx
e22b24942f acl_unix_listen.c: won't fatal when binding UNIX addr error 2018-02-24 09:19:01 +08:00
zsx
1fee0512ae acl_master: acl_master: lock file should be before starting services 2018-02-24 00:22:52 +08:00
zsx
fb91be02a7 acl_master: when starting, lock the specified file avoiding starting more than once;
master_guard: listening master_guard.sock other master_guard.sock@unix;
master_ctld: listening master_ctld.sock.
2018-02-23 23:35:31 +08:00
zsx
d8ab35a1ac serialize gson: should support the std::map object is optional 2018-02-22 11:50:24 +08:00
zsx
827e145290 gson rpc: make env be optional 2018-02-22 10:49:09 +08:00
zsx
6b248b7587 acl_master release 3.3.0-70 2018-02-12 14:16:54 +08:00
zsx
f9d0ee85c2 acl-master release 3.3.0-70 2018-02-12 14:15:57 +08:00
zsx
8e73122b3a fomat source code of master 2018-02-08 09:37:42 +08:00
zhengshuxin
8b71bccf62 master tools are all ok! 2018-01-31 14:28:45 +08:00
zsx
0cb42a8a0c master warning format: rename proc to path 2018-01-31 12:20:37 +08:00
zsx
75ce3962ef acl_master: master_conf.cpp check_xxx should be override after reloading services' configures. 2018-01-31 12:17:57 +08:00
zsx
1dbc76dbec fixed one bug in ipc_monitor.cpp. 2018-01-30 10:02:27 +08:00
zsx
d4036e4da0 master warning message can be delivered without master_notify_recipients specified. 2018-01-29 18:25:19 +08:00
zsx
a500d77a65 master_monitor can handle dead info of services 2018-01-24 23:48:48 +08:00
zsx
3c6ead3d72 acl_master's web interface: add some checking items 2018-01-24 22:10:30 +08:00
zsx
4fc5db521c add global lib for all master's tools 2018-01-24 15:10:00 +08:00
zsx
ea244a6673 master & master tools can display the version of all services 2018-01-23 18:57:29 +08:00
zsx
78beb49c5d acl_master: don't save some log information 2018-01-19 10:16:14 +08:00
zsx
e9606ac8bc acl_ifconf_search can match TCP/UDP/UNIX domain socket addr automaticly 2018-01-16 13:55:55 +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
c9a11e6a29 acl_master: remove ACL_MASTER_SERV:command avoding misusing it, just using path 2018-01-05 10:40:05 +08:00
zsx
dc21d58218 master: add lost item named start in service_list.cpp 2018-01-03 18:59:37 +08:00
root
01be5a98c6 acl_udp_server: can exit gracefully 2018-01-03 02:54:53 +08:00
zsx
434c2a2970 master: when master can't bind one addr master maybe crash for one object been freed before. 2017-12-25 16:30:34 +08:00
zsx
b7c42290f7 master: master can't restart service when updating service command by master_ctl command 2017-12-22 16:07:32 +08:00
zsx
43e3aeee3c master: fixed bugs in master when reload services 2017-12-22 14:56:59 +08:00
zsx
4f0e2cc8dd feature: master can bind udp with unix domain path 2017-12-12 19:18:33 +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
e65bdd10bf master: using acl_ifconf_search in service_sock & service_udp 2017-12-10 11:27:18 +08:00
zsx
b5ba4057db charset: changed main.cf's charset from gbk to utf-8 2017-12-08 09:50:22 +08:00
zsx
a5b15ee15b master: changed service_throttle_time from 60 to 10 in main.cf 2017-12-05 15:19:29 +08:00
ruki
987385ea6e add xmake.lua 2017-11-30 10:04:15 +08:00
zsx
41d76c8a04 master: can start service with extname of command 2017-11-21 17:40:25 +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
zsx
be83030d8d master: add master_config command to get master's configure info. 2017-11-21 12:43:34 +08:00
zhengshuxin
b2b6521a75 compiling error on CentOS6.x 2017-11-16 11:37:57 +08:00
zhengshuxin
3e5a449310 master: upgrade version 2017-11-13 09:51:41 +08:00
zhengshuxin
65b1bb2162 master: update vertion to 2.0 2017-11-13 09:37:54 +08:00
zhengshuxin
e86ae675ae master: kill&stop one child with the specified configure file. 2017-11-12 20:41:16 +08:00
zhengshuxin
d4fb931056 code style format 2017-11-12 18:32:08 +08:00
zhengshuxin
8c70aae5fa master: master should not fork child process after starting service failed. 2017-11-12 18:27:27 +08:00
zhengshuxin
ef7e4495ac master: can start services specified in configure file. 2017-11-12 00:20:15 +08:00
zhengshuxin
76889c5b35 master: supporting start service with absolute path 2017-11-07 11:54:12 +08:00
zhengshuxin
b7c6384b1e fixed one compiling error 2017-10-27 14:15:42 +08:00
zhengshuxin
db886f9d62 master: all server template support waiting the service starting status 2017-10-27 11:38:10 +08:00
zhengshuxin
bc4f60a2d3 acl_master: when starting services remotely, users can wait the result of the services' starting status or not. 2017-10-27 00:00:41 +08:00
zhengshuxin
0060ea9487 add service status type header 2017-10-26 22:00:14 +08:00
zhengshuxin
b998731976 building: modify Makefiles to build more quickly on multi-cores CPU 2017-10-10 10:19:59 +08:00
zhengshuxin
0f08451aa6 master: format c++ code style. 2017-09-24 21:10:28 +08:00
zhengshuxin
73fdae6530 acl_master's manage: restructure manage web module 2017-09-22 18:05:34 +08:00
zhengshuxin
7335f2a449 add master's web protocol in markdown file 2017-09-19 15:40:01 +08:00
zhengshuxin
32dede69de add reload_timeout into main.cf of acl_master 2017-09-11 14:28:22 +08:00
zsx
cb1c642461 build ok for Macosx 2017-07-17 17:53:56 +08:00
zhengshuxin
5101ef3cc6 reload timeout can be set in acl_master 2017-09-10 17:54:07 +08:00
zhengshuxin
5f3c319078 master can wait for the callback from children after reloading the specific service's children 2017-09-09 23:05:33 +08:00
zhengshuxin
a67e6a6338 sighup's result status from children can be got by acl_master 2017-09-09 00:30:39 +08:00
zhengshuxin
3d406e7277 init_conf_str_vars in master_params.cpp has memory leak when master reload configure. 2017-09-06 22:03:27 +08:00
zhengshuxin
965ecddd16 remove watchdog from master's main.cpp 2017-09-06 13:31:12 +08:00
zhengshuxin
025a9b29f2 make master's reload safety 2017-09-06 13:19:49 +08:00
zhengshuxin
296d5a995d master can wait until the children exited 2017-09-05 23:47:48 +08:00
zhengshuxin
3d02c72328 all master templates support handling SIGTERM signal. 2017-09-05 10:58:55 +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
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
6075440fb2 add main.cf into master/daemon/ path 2017-07-31 14:14:33 +08:00
zhengshuxin
d0024f25e7 for build rpm packing 2017-07-31 14:10:40 +08:00
zhengshuxin
c61af177c6 for build rpm 2017-07-31 14:00:04 +08:00
zhengshuxin
d0b71fb3a4 add master_ctld to rpm package. 2017-07-31 13:51:34 +08:00
zhengshuxin
b8237e011b add starting time in master management protocol. 2017-07-24 16:06:29 +08:00
zhengshuxin
fc3970d0b4 all commands of master management are ok! 2017-07-21 15:38:28 +08:00
zhengshuxin
9ff0659332 fixed one compiling warning in gcc7.1.0 2017-07-21 12:26:52 +08:00
zhengshuxin
0b431ee4e8 add service restart web interface in acl_master and master's tools 2017-07-21 12:17:02 +08:00
zhengshuxin
93350e7f86 change list command json format for managing acl_master 2017-07-21 11:57:23 +08:00
zhengshuxin
1fce66afd5 make master_ctl's output looking more beautiful with different colors. 2017-07-21 09:37:13 +08:00
zhengshuxin
54c30076ff master_ctl is ok! 2017-07-17 16:19:46 +08:00
zhengshuxin
66a35c5837 add configure item in master's protocol;
fixed warning on MACOSX
2017-07-17 15:30:52 +08:00
zsx
7e8c42c506 fixed some compiling error on MacOS 2017-07-17 10:10:46 +08:00
zhengshuxin
4a60b1217c add service_kill class for acl_master management 2017-07-07 16:57:39 +08:00
郑树新
2b9f532975 add graceful STOPPING web interface for acl_master's management. 2017-07-07 15:36:40 +08:00
zhengshuxin
dcff42768a use poll in acl_master other than select or epoll. 2017-07-05 14:53:40 +08:00
Zheng shuxin
698bc770ec acl_master supports reload 2017-06-28 10:47:15 +08:00
Zheng shuxin
f973f28492 modify master service 2017-06-27 17:11:04 +08:00
Zheng shuxin
a731cf5507 linked master_service's all processes. 2017-06-26 14:46:21 +08:00
Zheng shuxin
15e6ea1fa6 add read timeout for client connection 2017-06-26 13:19:43 +08:00
Zheng shuxin
d9fbd9c650 changed the web protocol for management 2017-06-26 12:34:23 +08:00
zhengshuxin
ecbfa37cc2 acl_master uses kernel event engine. 2017-06-25 11:46:43 +08:00
Zheng Shuxin
3de2af54e4 fixed bug in master_listen.cpp 2017-06-23 12:30:57 +08:00
ubuntu14
7ed6180b33 udp server support multi threads mode 2017-06-21 18:31:37 +08:00
ubuntu14
85f1db0b38 acl_udp_sever.c can bind addrs matching some pattern 2017-06-20 14:07:45 +08:00
zhengshuxin
28d76fa279 add acl_master_delete_all_children for stopping acl_master in Docker's running time. 2017-06-18 21:46:52 +08:00
ubuntu14
1d37af541a add test data for acl_master's web service 2017-06-16 17:14:44 +08:00
ubuntu14
21cfa62a49 acl_master adds web interface. 2017-06-16 17:00:49 +08:00
ubuntu14
20c735c0df master support web interface 2017-06-15 15:38:00 +08:00