Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
What happends after a fetch request is aborted via AbortController?

If a fetch request in browser runtime is aborted via the signal of an AbortController, what happens afterward?

More specifically:

How will the HTTP request be terminated? Will the sending/receiving of the HTTP request/response body proceed to finish if it is not fully sent out / received yet?

Will the underlying TCP connection be terminated? If so, is it terminated via a typical four-way handshake process or RESET directly? If so, is it still worth encouraging the use of AbortController against fetch considering it may take much time to establish a new TCP connection, especially when a bunch of requests is canceled consecutively such as auto-completing for search boxes?

If the underlying TCP connection will be re-used as usual, how could it be resumed from an incomplete HTTP request? (Is there some novel magic in HTTP/2 or QUIC?)

(I tried to search on the Internet, MDN, and the DOM standard which defines AbortController, to find nothing mention how aborting works under the hood at all. And the codebase of those browsers is too obscure for me to even locate where the implemtation is.)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!