Reproduce nextjs-96173-compression-disconnect from its authentic engineer request.
Reproduce nextjs-96173-compression-disconnect from its authentic engineer request.: a task in nextjs-selfbench (Harbor dataset). Fix the native-memory leak in server response compression. With the default compression setting enabled, an HTTP client can disconnect after receiving the first part of…
The task
Fix the native-memory leak in server response compression. With the default compression setting enabled, an HTTP client can disconnect after receiving the first part of a compressed response; the zlib context associated with that unfinished response must then be closed and released promptly instead of surviving…
Part of dari-ai/nextjs-selfbench.