⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion awslambdaric/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

def _get_handler(handler):
try:
(modname, fname) = handler.rsplit(".", 1)
modname, fname = handler.rsplit(".", 1)
except ValueError as e:
raise FaultException(
FaultException.MALFORMED_HANDLER_NAME,
Expand Down
Binary file added deps/aws-lambda-cpp-0.2.10.tar.gz
Binary file not shown.
Binary file removed deps/aws-lambda-cpp-0.2.6.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion deps/patches/aws-lambda-cpp-add-content-type.patch
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ index 08d7014..1cbd6bb 100644
@@ -275,6 +275,7 @@ runtime::next_outcome runtime::get_next()
invocation_request req;
req.payload = resp.get_body();
req.request_id = resp.get_header(REQUEST_ID_HEADER);
req.request_id = std::move(out).get_result();
+ req.content_type = resp.get_content_type();

if (resp.has_header(TRACE_ID_HEADER)) {
Expand Down
13 changes: 8 additions & 5 deletions deps/patches/aws-lambda-cpp-add-tenant-id.patch
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,17 @@ index e53b2b8..9763282 100644

enum Endpoints {
INIT,
@@ -289,6 +290,10 @@ runtime::next_outcome runtime::get_next()
@@ -289,6 +290,11 @@ runtime::next_outcome runtime::get_next()
req.function_arn = resp.get_header(FUNCTION_ARN_HEADER);
}

+ if (resp.has_header(TENANT_ID_HEADER)) {
+ req.tenant_id = resp.get_header(TENANT_ID_HEADER);
+ out = resp.get_header(TENANT_ID_HEADER);
+ if (out.is_success()) {
+ req.tenant_id = std::move(out).get_result();
+ }
+
if (resp.has_header(DEADLINE_MS_HEADER)) {
auto const& deadline_string = resp.get_header(DEADLINE_MS_HEADER);
out = resp.get_header(DEADLINE_MS_HEADER);
if (out.is_success()) {
auto const& deadline_string = std::move(out).get_result();
constexpr int base = 10;

36 changes: 0 additions & 36 deletions deps/patches/aws-lambda-cpp-make-lto-optional.patch

This file was deleted.

This file was deleted.

206 changes: 0 additions & 206 deletions deps/patches/aws-lambda-cpp-posting-init-errors.patch

This file was deleted.

2 changes: 1 addition & 1 deletion deps/versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AWS_LAMBDA_CPP_RELEASE=0.2.6
AWS_LAMBDA_CPP_RELEASE=0.2.10
CURL_MAJOR_VERSION=7
CURL_MINOR_VERSION=83
CURL_PATCH_VERSION=1
Loading