4
4
4ikist2014-03-28 15:12:51
Computer networks
4ikist, 2014-03-28 15:12:51

What happens to the application if the client closes HTTP connections without waiting for a response?

Does the script run to the end or does it stop?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
@
@ntkt, 2014-03-28
@4ikist

It strongly depends on the server used and the technology stack in general. In most cases, acc. the engine thread will end on a timeout (no one wants to execute the task of a client that has fallen off) or on the corresponding callback (if the application registered it).
Here is an example for PHP:
www.php.net/manual/en/features.connection-handling.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question