php - Page execution after cURL timed out

23

Can you please tell me what happens after multi cURL timed out (usingCURLOPT_TIMEOUT)? I need pages that I call withcurl_multi_exec to be executed 100% but I do not want to wait for the results.

  • CURLOPT_TIMEOUT is 1 sec
  • Each page execution time is ~20 secs

I am using https://github.com/chuyskywalker/rolling-curl

637

Answer

Solution:

The answer really depends on the remote page that you are calling. In most cases the server will completely execute the page that you call, but that may not always be true. It is possible for the server to detect that the client closed the connection an terminate execution.

People are also looking for solutions to the problem: php - Magento custom report - access generated data

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.