cURL超时后的页面执行

Can you please tell me what happens after multi cURL timed out (using CURLOPT_TIMEOUT)? I need pages that I call with curl_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

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.