As shown in Abort DoJo XHR-Request it is possible to cancel a (dojo/request/xhr) http request on the Client. The problem is, that the according server process (initiated by the request) is still running.
If we use a XMLHttpRequest-Object, calling abort() on it would stop the server process.
So the question is: Is it possible to achive this with dojo? Or is it possible to get access to the internal XMLHttpRequest-Object (used by dojo/request/xhr) to call abort() on it?
dojo/request/xhr
callsabort
on the underlying xhr object when you cancel, so it's not clear why it should behave any differently than callingxhr.abort
directly; see here and here. Are you testing with the same service in both cases? – Eastercancel
is called; beyond that there's no more you can do client-side. – Easter