Skip to content

Commit

Permalink
Merge pull request #45 from devsapp/fix-cpp
Browse files Browse the repository at this point in the history
fix cpp
  • Loading branch information
rsonghuster authored May 16, 2022
2 parents b2fdd89 + c3b51d9 commit df935fb
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-event-cpp
Provider:
- 阿里云
Version: 1.3.20
Version: 1.3.21
Description: 快速部署一个基于 Custom Container Runtime 的 C++ Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ int main(int argc, char *argv[]) {

auto opts = Http::Endpoint::options()
.threads(thr)
.flags(Tcp::Options::InstallSignalHandler);
.flags(Tcp::Options::InstallSignalHandler)
.maxPayload(6*1024*1024);
server->init(opts);
SetInvokeAndInitHander();
server->setHandler(Http::make_handler<CustomRuntimeHandler>());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-http-cpp
Provider:
- 阿里云
Version: 1.2.12
Version: 1.2.13
Description: 快速部署一个基于custom container runtime 的 C++ HTTP 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ int main(int argc, char *argv[]) {

auto opts = Http::Endpoint::options()
.threads(thr)
.flags(Tcp::Options::InstallSignalHandler);
.flags(Tcp::Options::InstallSignalHandler)
.maxPayload(6*1024*1024);
server->init(opts);
SetInvokeAndInitHander();
server->setHandler(Http::make_handler<CustomRuntimeHandler>());
Expand Down
2 changes: 1 addition & 1 deletion custom-function/cpp/fc-custom-cpp-event/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: fc-custom-cpp-event
Provider:
- 阿里云
Version: 1.2.12
Version: 1.2.13
Description: 快速部署一个基于custom runtime的 C++ Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ int main(int argc, char *argv[]) {

auto opts = Http::Endpoint::options()
.threads(thr)
.flags(Tcp::Options::InstallSignalHandler);
.flags(Tcp::Options::InstallSignalHandler)
.maxPayload(6*1024*1024);
server->init(opts);
SetInvokeAndInitHander();
server->setHandler(Http::make_handler<CustomRuntimeHandler>());
Expand Down
2 changes: 1 addition & 1 deletion custom-function/cpp/fc-custom-cpp-http/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: fc-custom-cpp-http
Provider:
- 阿里云
Version: 1.1.21
Version: 1.1.22
Description: 快速部署一个基于custom runtime 的 C++ HTTP 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ int main(int argc, char *argv[]) {

auto opts = Http::Endpoint::options()
.threads(thr)
.flags(Tcp::Options::InstallSignalHandler);
.flags(Tcp::Options::InstallSignalHandler)
.maxPayload(6*1024*1024);
server->init(opts);
SetInvokeAndInitHander();
server->setHandler(Http::make_handler<CustomRuntimeHandler>());
Expand Down
49 changes: 1 addition & 48 deletions update.list
Original file line number Diff line number Diff line change
@@ -1,51 +1,4 @@
async-task/python3
custom-container-function/fc-custom-container-event-cpp
custom-container-function/fc-custom-container-event-nodejs14
custom-container-function/fc-custom-container-event-python3.9
custom-container-function/fc-custom-container-http-aspdotnetcore
custom-container-function/fc-custom-container-http-cpp
custom-container-function/fc-custom-container-http-springboot
custom-container-function/fc-custom-container-websocket-golang
custom-container-function/fc-custom-container-websocket-nodejs14
custom-container-function/fc-custom-container-websocket-python3.9
custom-function/cpp/fc-custom-cpp-event
custom-function/cpp/fc-custom-cpp-http
custom-function/dart/fc-custom-dart-event
custom-function/f#/fc-custom-fsharp-http
custom-function/golang/fc-custom-golang-event
custom-function/golang/fc-custom-golang-websocket
custom-function/java8/fc-custom-java8-http
custom-function/lua/fc-custom-lua-event
custom-function/nodejs10/fc-custom-nodejs10-event
custom-function/nodejs10/fc-custom-nodejs10-websocket
custom-function/nodejs12/fc-custom-nodejs12-event
custom-function/nodejs12/fc-custom-nodejs12-websocket
custom-function/ruby/fc-custom-ruby-event
custom-function/rust/fc-custom-rust-event
custom-function/typescript/fc-custom-typescript-event
custom-function/php74/fc-custom-php74-event
custom-function/php74/fc-custom-php74-http
custom-function/powershell/fc-custom-powershell-event
custom-function/python37/fc-custom-python37-event
custom-function/python37/fc-custom-python37-http
custom-function/python37/fc-custom-python37-websocket
event-function/fc-event-golang1.x
event-function/fc-event-java8
event-function/fc-event-node.js6
event-function/fc-event-node.js8
event-function/fc-event-node.js10
event-function/fc-event-node.js12
event-function/fc-event-node.js14
event-function/fc-event-php7.2
event-function/fc-event-python2.7
event-function/fc-event-python3.6
http-function/fc-http-golang1.x
http-function/fc-http-java8
http-function/fc-http-node.js6
http-function/fc-http-node.js8
http-function/fc-http-node.js10
http-function/fc-http-node.js12
http-function/fc-http-node.js14
http-function/fc-http-php7.2
http-function/fc-http-python2.7
http-function/fc-http-python3.6
custom-function/cpp/fc-custom-cpp-http

0 comments on commit df935fb

Please sign in to comment.