2

Everytime there's a move in the map the OL3 requests a new image to the GeoServer ignoring the previous requests it has done which may lead to multiple pending image requests that are not going to be used.

Is there a way to abort these requests like in jQuery with .abort() for AJAX requests?

1 Answer 1

2

No, once you've made a GetMap request the WMS service will do its best to respond to it. You can't send an abort request.

2
  • Is there some way to provide a server side timeout to the requests? I seem to get loads queued up which then crash geoserver and tomcat and I have to reboot the whole PC :/ Commented Aug 22, 2018 at 9:46
  • @dougajmcdonald You can change request timeouts in your web server software, not sure about GeoServer directly.
    – nmtoken
    Commented Aug 22, 2018 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.