<div dir="ltr">I'd also be interested in this.<div>When some requests take longer than expected the queue fills up quickly and some clients start dropping their requests due to timeout.</div><div>But the requests are still kept in the IIS queue and MapServer processes them anyway making the whole situation even worse.</div><div><br></div><div>Thanks</div><div>Petrovicz</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 15, 2024 at 11:31 AM Aleš Grlj via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Is it possible to cancel the request to MapServer and make it stop processing it? <div>I have the MapServer behind Flask API that uses mapscript to compose the mapfile dynamically per request and returns the data. The client may dispatch a new request to the same endpoint with different parameters. In such case I can cancel the previous request on the frontend and detect this in Flask. Can I also abort the MapServer processing the canceled request?</div><div><br></div><div>Cheers</div><div><br></div><div>Aleš</div></div>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>