functions-framework-cpp
functions-framework-cpp copied to clipboard
Implement example: functions_tips_connection_pooling
Line numbers are approximate:
https://github.com/GoogleCloudPlatform/golang-samples/blob/master/functions/http/request.go#L16-L52
https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/functions/tips/main.py#L37-L40
Neither libcurl nor Boost.Beast support connection caching.
- There are some (rather long) blog posts on how to implement them yourself for Boost.Beast
- libcurl has
CURLSH*, but there are serious bugs with it and multi-threaded applications.
I am removing this from the GA milestone.
/cc: @grant @devjgm