-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling 'cancel' requests #325
Comments
On the technical side (and AFAIK), a "cancel" operation will look like a premature TCP disconnect. In other words: At the very least, a server can be sure that a client is no longer interested in response data if the client has closed the underlying TCP connection. Now: this can happen willingly (a web browser changing the |
In our client we have implemented support for canceling requests for tiles no longer into view. |
Informative: How to do it in modern browsers https://stackoverflow.com/questions/31061838/how-do-i-cancel-an-http-fetch-request Informative: How to do it in web assembly https://emscripten.org/docs/api_reference/emscripten.h.html#c.emscripten_async_wget2_abort -- for Emscripten / WebAsssembly We decided that we could move it to OGC API common and recommend to add this to the OGC API common user guide. |
During the 2022 Web Mapping Code Sprint there was a demonstration by @IvanSanchez of a map being moved and the client application sending 'cancel' requests to the server as the map was being moved. The client application was sending 'cancel' requests as the map was being moved. This is a useful capability because it notifies the server that the request that it is trying to fulfil is no longer needed and is being canceled.
The context was OGC API - Maps, however it might be that support for 'cancel' requests is relevant to other OGC API Standards.
Should OGC API - Maps support cancel operations?
If so, what should such a capability look like?
The text was updated successfully, but these errors were encountered: