What happens when a HTTP request is terminated prematurely?

Posted by Gowtham on Server Fault See other posts from Server Fault or by Gowtham
Published on 2010-06-03T15:55:30Z Indexed on 2010/06/03 15:56 UTC
Read the original article Hit count: 272

Filed under:

Suppose, I enter a URL in my browser and browser submits the HTTP request. The remote HTTP server accepts the request and initiates a long task to serve the request.

If I terminate the request before it is complete (for example, press Esc or in Firefox), how is the request closed? Will the browser communicate this abort request to the server (I think it doesn't)?

Presuming no, upon completion of the long task, what will the server do with the result? Does it send it back anyway? If it does, what will happen? Does it reach till my PC? Or gets lost on the way?

This is just for my curiosity.

Thanks for your time :)

© Server Fault or respective owner

Related posts about http