From b00653cc969e412d4ca79496ccafcc76a8e41c42 Mon Sep 17 00:00:00 2001 From: Taku Amano Date: Mon, 14 Jul 2025 12:34:57 +0900 Subject: [PATCH] docs: separate description of autoCleanupIncoming --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f3c6a0e..9ac509f 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ serve({ ### `autoCleanupIncoming` The default value is `true`. The Node.js Adapter automatically cleans up (explicitly call `destroy()` method) if application is not finished to consume the incoming request. If you don't want to do that, set `false`. + If the application accepts connections from arbitrary clients, this cleanup must be done otherwise incomplete requests from clients may cause the application to stop responding. If your application only accepts connections from trusted clients, such as in a reverse proxy environment and there is no process that returns a response without reading the body of the POST request all the way through, you can improve performance by setting it to `false`. ```ts