CurlHttpRequest: Check library version, not CURLOPT_REDIR_PROTOCOLS
authorKevin Israel <pleasestand@live.com>
Mon, 8 Sep 2014 22:15:09 +0000 (18:15 -0400)
committerKevin Israel <pleasestand@live.com>
Mon, 8 Sep 2014 22:22:50 +0000 (18:22 -0400)
commit0d707a21ba3dc4f7433c78a51c013f50e627a7a3
treee07706af3dd4c4ab719cbef3345b73d70cb8be07
parent856c960a6af470e18f952d34726cf8838b2197bf
CurlHttpRequest: Check library version, not CURLOPT_REDIR_PROTOCOLS

This works around <https://github.com/facebook/hhvm/issues/3702>.
We don't actually use the constant, so checking the library version
should suffice.

Bug: 70570
Change-Id: I732d8f7eb2908bae10100594f693cf7a63f8b5b1
includes/HttpFunctions.php