mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 02:47:56 +08:00
master_ctld: support GET for checking port if service is aliving
This commit is contained in:
parent
0c5221bea8
commit
db00ae6f17
@ -76,7 +76,11 @@ bool http_servlet::doOther(acl::HttpServletRequest&,
|
||||
bool http_servlet::doGet(acl::HttpServletRequest& req,
|
||||
acl::HttpServletResponse& res)
|
||||
{
|
||||
return doPost(req, res);
|
||||
res.setContentType("text/plain")
|
||||
.setKeepAlive(req.isKeepAlive());
|
||||
|
||||
acl::string body("ok\r\n");
|
||||
return reply(req, res, 200, body);
|
||||
}
|
||||
|
||||
bool http_servlet::doPost(acl::HttpServletRequest& req,
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: The powerful c/c++ library and server framework
|
||||
Name: acl-libs
|
||||
Version: 3.3.0
|
||||
Release: 71
|
||||
Release: 72
|
||||
Group: System/Libs
|
||||
License: IBM
|
||||
URL: http://cdnlog-web.qiyi.domain
|
||||
@ -77,6 +77,9 @@ fi
|
||||
|
||||
%changelog
|
||||
|
||||
* Mon Feb 12 2018 zhengshuxin@qiyi.com 3.3.0-72-20180212.15
|
||||
- master_ctld: support GET for checking port if service is aliving
|
||||
|
||||
* Mon Feb 12 2018 zhengshuxin@qiyi.com 3.3.0-71-20180212.14
|
||||
- remove daemon from master's service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user