Delete curl_copy_handle and CurlPool builtins
Summary:
cURL handles can share state as an optimization, including DNS caches and SSL IDs. Sharing state leads to thread-safety issues, especially as libcurl uses more caching to win better performance. Right now, HHVM supports three ways of explicitly constructing handles with shared state:
1. Copying a handle (I'm uncertain how much state is shared, but probably some)
1. Named process-global connection pools
1. The CurlShareHandle resource type
We don't use 1 and 2. The code for these kinds of sharing is likely wrong now as a result. Let's eliminate 1 and 2, so that CurlShareHandle is the only API that needs synchronization.
Reviewed By: ricklavoie
Differential Revision:
D30109386
fbshipit-source-id:
f3adf960ba3abd4d33abb995cf4b58bd8d7dc937