It seems as though ZendFramework2's various http client adapters allow connect and read timeouts in the seconds range; enforced by casting the various timeout parameters to (int) before setting them. In our organization, we typically specify smaller connection and read timeouts for production environments (we have a SOA in place).
However, the Socket-level functions in php support (float) values for timeouts to support sub-second timeouts, and there are means to support sub-second connect timeouts using libcurl since PHP 5.2.3. (CURLOPT_CONNECTTIMEOUT_MS with cURL complied with c-ares per how enable curl's AsynchDNS?).
I'm happy to enter a ticket to ZendFramework to support smaller, more granular timeouts but wanted to first see if this is a solved problem out here 'in the wild'. Has anyone gotten the Zend\Http\Client\Adapter\Socket or \Curl adapters to support sub-second connect and read timeouts?