Skip to content

Commit dfbcdf7

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/Examples/CDK/infra/aws-cdk-lib-2.189.1
2 parents 82dbc83 + 7edd4f8 commit dfbcdf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaRuntime/Lambda+LocalServer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private struct LambdaHTTPServer {
238238
requestHead = head
239239

240240
case .body(let body):
241-
requestBody = body
241+
requestBody.setOrWriteImmutableBuffer(body)
242242

243243
case .end:
244244
precondition(requestHead != nil, "Received .end without .head")

0 commit comments

Comments
 (0)