We have a problem with a request canceling for Azure App Service behind a Front Door instance. We have long-running AJAX requests from a frontend to a backend part. After initiating request cancellation with AbortController in JS, our backend part, ASP.NET Web API 2, handles the exception and stops further request processing.
It works fine with an app on a local machine or Azure App Service. However, while using a proxy (such as Postman or Fiddler), request cancellation is not forwarded to the backend. Our Azure Front Door Standard instance has similar behavior.
After a deeper investigation, we have found that sometimes request cancellation is handled correctly. It seems to depend on which Front Door POP takes requests.
According to Front Door access logs, the following POPs do not handle our request cancellation: MNZ, MAA, FRA, and BUD. At the same time, with the same configuration, DUS POP take them as expected.
Please suggest if we can do anything to forward the request cancellation on all Front Door POPs. Or is the issue connected to the Front Door's internal mechanisms?