diff --git a/sanic/http/http1.py b/sanic/http/http1.py index 304e5e5e..5884d0b4 100644 --- a/sanic/http/http1.py +++ b/sanic/http/http1.py @@ -428,7 +428,9 @@ class Http(Stream, metaclass=TouchUpMeta): if self.request is None: self.create_empty_request() - request_middleware = not isinstance(exception, ServiceUnavailable) + request_middleware = not isinstance( + exception, (ServiceUnavailable, RequestCancelled) + ) try: await app.handle_exception( self.request, exception, request_middleware