1

I'm curios if a script gets aborted or it keeps running on the server side when I cancel a request from the client side, e.g. using browser:

enter image description here

Majesty
  • 2,097
  • 5
  • 24
  • 55
  • That will very much depend on the server… – deceze Aug 23 '22 at 12:13
  • @deceze that's why I added tag "nginx" – Majesty Aug 23 '22 at 12:16
  • add logging in the script and find out – Lawrence Cherone Aug 23 '22 at 12:28
  • Are you sure those requests were cancelled manually using the browser? There can be a couple of reasons, check [What does status=canceled for a resource mean in Chrome Developer Tools?](https://stackoverflow.com/questions/12009423/what-does-status-canceled-for-a-resource-mean-in-chrome-developer-tools) or [jQuery Ajax requests are getting cancelled without being sent](https://stackoverflow.com/questions/7577275/jquery-ajax-requests-are-getting-cancelled-without-being-sent). – Ivan Shatsky Aug 23 '22 at 12:47
  • @IvanShatsky yes, I'm sure it's me who cancels them and I'm concerned with the negative impact it could produce – Majesty Aug 23 '22 at 13:29
  • 1
    They will run until complete, but the output back to the client is lost. – Markus Zeller Aug 23 '22 at 18:48

0 Answers0