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()
222 error = curl_multi_wait(mh->multi, NULL, 0, (int) (timeout * 1000.0), &numfds); in PHP_FUNCTION()
262 error = curl_multi_perform(mh->multi, &still_running); in PHP_FUNCTION()
312 tmp_msg = curl_multi_info_read(mh->multi, &queued_msgs); in PHP_FUNCTION()
359 curl_multi_remove_handle(mh->multi, ch->cp); in PHP_FUNCTION()
474 error = curl_multi_setopt(mh->multi, option, lval); in _php_curl_multi_setopt()
493 error = curl_multi_setopt(mh->multi, CURLMOPT_PUSHFUNCTION, _php_server_push_callback); in _php_curl_multi_setopt()
497 error = curl_multi_setopt(mh->multi, CURLMOPT_PUSHDATA, mh); in _php_curl_multi_setopt()
559 if (!mh->multi) { in curl_multi_free_obj()
573 curl_multi_cleanup(mh->multi); in curl_multi_free_obj()