2 title: pecl_http and sub-second timeouts
8 Just a quick info, because I forget this again and again -- and it's not noted
9 in the [documentation](http://php.net/manual/en/ref.http.php) yet either.
11 Sub-second timeouts are supported by [libcurl](http://curl.haxx.se/libcurl/)
12 and thus by [pecl_http](http://pecl.php.net/pecl_http) -- yes but only if
13 libcurl is built with [(c-)ares](http://c-ares.haxx.se) support:
15 <quote url="[curl_easy_setopt.html](http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMEOUTMS)">
17 > If libcurl is built to use the standard system name resolver, that portion
18 of the transfer will still use full-second resolution for timeouts with a
19 minimum timeout allowed of one second.