Lines Matching refs:multi
63 CURLM *multi; in PHP_FUNCTION() local
66 multi = curl_multi_init(); in PHP_FUNCTION()
67 if (UNEXPECTED(multi == NULL)) { in PHP_FUNCTION()
73 mh->multi = multi; in PHP_FUNCTION()
100 error = curl_multi_add_handle(mh->multi, ch->cp); in PHP_FUNCTION()
166 error = curl_multi_remove_handle(mh->multi, ch->cp); in PHP_FUNCTION()
202 error = curl_multi_wait(mh->multi, NULL, 0, (int) (timeout * 1000.0), &numfds); in PHP_FUNCTION()
242 error = curl_multi_perform(mh->multi, &still_running); in PHP_FUNCTION()
292 tmp_msg = curl_multi_info_read(mh->multi, &queued_msgs); in PHP_FUNCTION()
339 curl_multi_remove_handle(mh->multi, ch->cp); in PHP_FUNCTION()
478 error = curl_multi_setopt(mh->multi, option, lval); in _php_curl_multi_setopt()
491 error = curl_multi_setopt(mh->multi, CURLMOPT_PUSHFUNCTION, _php_server_push_callback); in _php_curl_multi_setopt()
495 error = curl_multi_setopt(mh->multi, CURLMOPT_PUSHDATA, mh); in _php_curl_multi_setopt()
560 if (!mh->multi) { in curl_multi_free_obj()
574 curl_multi_cleanup(mh->multi); in curl_multi_free_obj()