Skip to content

Fix http.server.close() to properly close idle connections before shu…

Changes: Added logic to http.server.close() to ensure idle connections are properly closed before the server shuts down. Included checks for existing connections and closed them gracefully before terminating the server. Testing: Verified by running a server and testing that idle connections are closed before the server fully shuts down.

Merge request reports

Loading