mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
Fix https://github.com/swift-server/swift-aws-lambda-runtime/issues/481
This commit is contained in:
@@ -238,7 +238,7 @@ private struct LambdaHTTPServer {
|
||||
requestHead = head
|
||||
|
||||
case .body(let body):
|
||||
requestBody = body
|
||||
requestBody.setOrWriteImmutableBuffer(body)
|
||||
|
||||
case .end:
|
||||
precondition(requestHead != nil, "Received .end without .head")
|
||||
|
||||
Reference in New Issue
Block a user