Implement curl_multi_await()
commit4b5a15f8a3c41a2cfb77ce9fe5f3a99c8bad1cd8
authorSara Golemon <sgolemon@fb.com>
Wed, 3 Dec 2014 00:14:20 +0000 (2 16:14 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 3 Dec 2014 00:30:34 +0000 (2 16:30 -0800)
tree84112ac7df2cba5214695b6629eb7bb710c40ef7
parentb262baba58f17b8b526ca2e34a70dcb1de9a790c
Implement curl_multi_await()

Summary: Push curl sockets into s_asio_event_base loop
along with optional timeout.  Trigger awaitable completion
on any handle activity.

Reviewed By: @JoelMarcey

Differential Revision: D1700978

Signature: t1:1700978:1417563769:046272e19366f80a118c552ce64c7cff7573da4d
hphp/runtime/ext/curl/ext_curl.cpp
hphp/runtime/ext/curl/ext_curl.php
hphp/test/slow/async/curl/async-curl.inc [new file with mode: 0644]
hphp/test/slow/async/curl/curl-abandon.php [new file with mode: 0644]
hphp/test/slow/async/curl/curl-abandon.php.expect [new file with mode: 0644]
hphp/test/slow/async/curl/curl-files.php [new file with mode: 0644]
hphp/test/slow/async/curl/curl-files.php.expectf [new file with mode: 0644]