Home
last modified time | relevance | path

Searched refs:mh (Results 1 – 21 of 21) sorted by relevance

/PHP-8.2/ext/curl/
H A Dmulti.c62 php_curlm *mh; in PHP_FUNCTION() local
73 mh->multi = multi; in PHP_FUNCTION()
84 php_curlm *mh; in PHP_FUNCTION() local
154 php_curlm *mh; in PHP_FUNCTION() local
217 php_curlm *mh; in PHP_FUNCTION() local
278 php_curlm *mh; in PHP_FUNCTION() local
323 php_curlm *mh; in PHP_FUNCTION() local
349 php_curlm *mh; in PHP_FUNCTION() local
495 error = curl_multi_setopt(mh->multi, CURLMOPT_PUSHDATA, mh); in _php_curl_multi_setopt()
515 php_curlm *mh; in PHP_FUNCTION() local
[all …]
/PHP-8.2/ext/curl/tests/
H A Dgh15547.phpt8 $mh = curl_multi_init();
9 var_dump(curl_multi_select($mh, -2500000));
10 var_dump(curl_multi_strerror(curl_multi_errno($mh)));
11 curl_multi_close($mh);
12 $mh = curl_multi_init();
13 var_dump(curl_multi_select($mh, 2500000));
14 var_dump(curl_multi_strerror(curl_multi_errno($mh)));
15 curl_multi_close($mh);
16 $mh = curl_multi_init();
17 var_dump(curl_multi_select($mh, 1000000));
[all …]
H A Dcurl_multi_close_reference.phpt7 $mh = curl_multi_init();
8 $array = array($mh);
11 curl_multi_add_handle($mh, curl_init());
12 curl_multi_add_handle($mh, curl_init());
13 curl_multi_add_handle($mh, curl_init());
14 curl_multi_add_handle($mh, curl_init());
H A Dcurl_copy_handle_variation4.phpt24 $mh = curl_multi_init();
25 curl_multi_add_handle($mh, $ch1);
26 curl_multi_add_handle($mh, $ch2);
28 $status = curl_multi_exec($mh, $active);
30 curl_multi_select($mh);
34 curl_multi_remove_handle($mh, $ch1);
35 curl_multi_remove_handle($mh, $ch2);
36 curl_multi_remove_handle($mh, $ch3);
37 curl_multi_close($mh);
H A Dcurl_pushfunction.phpt23 $mh = curl_multi_init();
25 curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
26 curl_multi_setopt($mh, CURLMOPT_PUSHFUNCTION, $callback);
33 curl_multi_add_handle($mh, $ch);
38 $status = curl_multi_exec($mh, $active);
41 $info = curl_multi_info_read($mh);
46 curl_multi_remove_handle($mh, $handle);
53 curl_multi_close($mh);
H A Dcurl_pushfunction_nonexistent_callback.phpt22 $mh = curl_multi_init();
24 curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
25 curl_multi_setopt($mh, CURLMOPT_PUSHFUNCTION, "nonexistent");
32 curl_multi_add_handle($mh, $ch);
36 $status = curl_multi_exec($mh, $active);
39 $info = curl_multi_info_read($mh);
43 curl_multi_remove_handle($mh, $handle);
51 curl_multi_close($mh);
H A Dbug76675.phpt25 $mh = curl_multi_init();
26 curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
27 curl_multi_setopt($mh, CURLMOPT_PUSHFUNCTION, $callback);
34 curl_multi_add_handle($mh, $ch);
37 $status = curl_multi_exec($mh, $active);
39 $info = curl_multi_info_read($mh);
44 curl_multi_remove_handle($mh, $handle);
50 curl_multi_close($mh);
H A Dcurl_basic_018.phpt40 $mh = curl_multi_init();
43 curl_multi_add_handle($mh, $chs[0]);
44 curl_multi_add_handle($mh, $chs[1]);
45 curl_multi_add_handle($mh, $chs[2]);
50 curl_multi_exec($mh, $running);
59 curl_multi_remove_handle($mh, $chs[0]);
60 curl_multi_remove_handle($mh, $chs[1]);
61 curl_multi_remove_handle($mh, $chs[2]);
62 curl_multi_close($mh);
H A Dbug67643.phpt11 $mh = curl_multi_init();
12 curl_multi_add_handle($mh, $ch);
16 curl_multi_exec($mh, $running);
21 curl_multi_remove_handle($mh, $ch);
22 curl_multi_close($mh);
H A Dcurl_multi_getcontent_basic3.phpt32 $mh=curl_multi_init();
35 curl_multi_add_handle($mh,$ch1);
36 curl_multi_add_handle($mh,$ch2);
41 curl_multi_exec($mh,$running);
48 curl_multi_remove_handle($mh,$ch1);
49 curl_multi_remove_handle($mh,$ch2);
50 curl_multi_close($mh);
H A Dcurl_multi_init_basic.phpt15 $mh = curl_multi_init();
16 var_dump($mh);
18 curl_multi_close($mh);
19 var_dump($mh);
H A Dbug77946.phpt11 $mh = curl_multi_init();
15 curl_multi_add_handle($mh, $conn[$i]);
19 $status = curl_multi_exec($mh, $active);
20 $info = curl_multi_info_read($mh);
32 curl_multi_close($mh);
H A Dcurl_multi_errno_strerror_001.phpt8 $mh = curl_multi_init();
9 $errno = curl_multi_errno($mh);
14 curl_multi_setopt($mh, -1, -1);
19 $errno = curl_multi_errno($mh);
H A Dcurl_multi_info_read.phpt2 array curl_multi_info_read ( resource $mh [, int &$msgs_in_queue = NULL ] );
14 $mh = curl_multi_init();
18 curl_multi_add_handle($mh, $conn[$i]);
22 $status = curl_multi_exec($mh, $active);
25 while ($info = curl_multi_info_read($mh)) {
H A Dbug77535.phpt18 private $mh;
23 if (false === $this->mh = curl_multi_init()) {
43 curl_multi_add_handle($this->mh, $this->curl);
48 $mrc = curl_multi_exec($this->mh, $stillRunning);
51 $info = curl_multi_info_read($this->mh);
69 curl_multi_setopt($this->mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
70 curl_multi_setopt($this->mh, CURLMOPT_PUSHFUNCTION, $callback);
H A Dcurl_multi_select_basic1.phpt12 $mh = curl_multi_init();
13 echo curl_multi_select($mh)."\n";
15 curl_multi_close($mh);
H A Dcurl_multi_setopt_basic001.phpt8 $mh = curl_multi_init();
9 var_dump(curl_multi_setopt($mh, CURLMOPT_PIPELINING, 0));
12 curl_multi_setopt($mh, -1, 0);
H A Dcurl_multi_add_handle_lifecycle.phpt19 $mh = curl_multi_init();
26 if (curl_multi_add_handle($mh, $ch) == CURLM_OK) {
29 if (curl_multi_add_handle($mh, $ch) == CURLM_OK) {
38 curl_multi_remove_handle($mh, $ch);
H A Dcurl_pause_001.phpt33 $mh = curl_multi_init();
34 curl_multi_add_handle($mh, $ch);
36 $status = curl_multi_exec($mh, $active);
40 curl_multi_select($mh);
H A Dbug48203_multi.phpt41 $mh = curl_multi_init();
43 curl_multi_add_handle($mh, $ch1);
44 curl_multi_add_handle($mh, $ch2);
48 curl_multi_exec($mh, $active);
51 curl_multi_remove_handle($mh, $ch1);
52 curl_multi_remove_handle($mh, $ch2);
53 curl_multi_close($mh);
H A Dbug71523.phpt17 $mh = curl_multi_init();
22 curl_multi_add_handle($mh, $ch);
26 curl_multi_exec($mh, $active);

Completed in 19 milliseconds