| commit | 79c23377057f5bbb2d52097eb13073db2d69db8c | [log] [tgz] |
|---|---|---|
| author | Jeremy Mikkola <jmikkola@thumbtack.com> | Thu Apr 04 18:03:32 2019 -0700 |
| committer | James E. King III <jking@apache.org> | Tue May 14 06:15:48 2019 -0400 |
| tree | 5938a2d3d4d4948c7271ddcaf705e407202909ef | |
| parent | b261f3c0f114be31ef0f9a103dc4d2baa7c4fc3f [diff] |
THRIFT-4845: Stop ignoring small timeouts Client: php CURLOPT_TIMEOUT requires a long [0], so it seems that small values like 0.2 are being rounded to 0, resulting in a lack of any timeout. This change uses CURLOPT_TIMEOUT_MS, which the PHP documentation says was "added in cURL 7.16.2. Available since PHP 5.2.3." [0] https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html