Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close HTTP response on unhandled request timeout (#2007)
* Close HTTP response on unhandled request timeout This commit updates the defaultUnhandledRequestHandler to close the HTTP response when an incoming event is not acknowledged within the expected timeframe. This change ensures that resources are not left hanging and that the server correctly indicates to the client that the event was not processed as expected. By sending a 503 Service Unavailable status code and ending the response, we provide clearer semantics and prevent potential resource leaks on the server. * Update error code as per code review feedback
- Loading branch information