Skip to content

Commit 09cbb80

Browse files
committed
fix 481
1 parent 3ce0a87 commit 09cbb80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaRuntime/Lambda+LocalServer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ private struct LambdaHTTPServer {
237237
requestHead = head
238238

239239
case .body(let body):
240-
requestBody = body
240+
requestBody.setOrWriteImmutableBuffer(body)
241241

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

0 commit comments

Comments
 (0)