- curl_easy_setopt(ch, CURLOPT_HTTPAUTH, 0L);
- curl_easy_setopt(ch, CURLOPT_ENCODING, NULL);
- /* we do this ourself anyway */
- curl_easy_setopt(ch, CURLOPT_HTTP_CONTENT_DECODING, 0L);
- curl_easy_setopt(ch, CURLOPT_HTTP_TRANSFER_DECODING, 0L);
- curl_easy_setopt(ch, CURLOPT_FOLLOWLOCATION, 0L);
-#if PHP_HTTP_CURL_VERSION(7,19,1)
- curl_easy_setopt(ch, CURLOPT_POSTREDIR, 0L);
-#else
- curl_easy_setopt(ch, CURLOPT_POST301, 0L);
-#endif
- curl_easy_setopt(ch, CURLOPT_UNRESTRICTED_AUTH, 0L);
- curl_easy_setopt(ch, CURLOPT_REFERER, NULL);
- curl_easy_setopt(ch, CURLOPT_USERAGENT, "PECL::HTTP/" PHP_HTTP_EXT_VERSION " (PHP/" PHP_VERSION ")");
- curl_easy_setopt(ch, CURLOPT_HTTPHEADER, NULL);
- curl_easy_setopt(ch, CURLOPT_COOKIE, NULL);
- curl_easy_setopt(ch, CURLOPT_COOKIESESSION, 0L);
- /* these options would enable curl's cookie engine by default which we don't want
- curl_easy_setopt(ch, CURLOPT_COOKIEFILE, NULL);
- curl_easy_setopt(ch, CURLOPT_COOKIEJAR, NULL); */
- curl_easy_setopt(ch, CURLOPT_COOKIELIST, NULL);
- curl_easy_setopt(ch, CURLOPT_RANGE, NULL);
- curl_easy_setopt(ch, CURLOPT_RESUME_FROM, 0L);
- curl_easy_setopt(ch, CURLOPT_MAXFILESIZE, 0L);
- curl_easy_setopt(ch, CURLOPT_TIMECONDITION, 0L);
- curl_easy_setopt(ch, CURLOPT_TIMEVALUE, 0L);
- curl_easy_setopt(ch, CURLOPT_TIMEOUT, 0L);
- curl_easy_setopt(ch, CURLOPT_CONNECTTIMEOUT, 3);
- curl_easy_setopt(ch, CURLOPT_SSLCERT, NULL);
- curl_easy_setopt(ch, CURLOPT_SSLCERTTYPE, NULL);
- curl_easy_setopt(ch, CURLOPT_SSLCERTPASSWD, NULL);
- curl_easy_setopt(ch, CURLOPT_SSLKEY, NULL);
- curl_easy_setopt(ch, CURLOPT_SSLKEYTYPE, NULL);
- curl_easy_setopt(ch, CURLOPT_SSLKEYPASSWD, NULL);
- curl_easy_setopt(ch, CURLOPT_SSLENGINE, NULL);
- curl_easy_setopt(ch, CURLOPT_SSLVERSION, 0L);
- curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 0L);
- curl_easy_setopt(ch, CURLOPT_SSL_VERIFYHOST, 0L);
- curl_easy_setopt(ch, CURLOPT_SSL_CIPHER_LIST, NULL);
-#if PHP_HTTP_CURL_VERSION(7,19,0)
- curl_easy_setopt(ch, CURLOPT_ISSUERCERT, NULL);
-#if defined(PHP_HTTP_HAVE_OPENSSL)
- curl_easy_setopt(ch, CURLOPT_CRLFILE, NULL);
-#endif
-#endif
-#if PHP_HTTP_CURL_VERSION(7,19,1) && defined(PHP_HTTP_HAVE_OPENSSL)
- curl_easy_setopt(ch, CURLOPT_CERTINFO, NULL);
-#endif
-#ifdef PHP_HTTP_CURL_CAINFO
- curl_easy_setopt(ch, CURLOPT_CAINFO, PHP_HTTP_CURL_CAINFO);
-#else
- curl_easy_setopt(ch, CURLOPT_CAINFO, NULL);
-#endif
- curl_easy_setopt(ch, CURLOPT_CAPATH, NULL);
- curl_easy_setopt(ch, CURLOPT_RANDOM_FILE, NULL);
- curl_easy_setopt(ch, CURLOPT_EGDSOCKET, NULL);
- curl_easy_setopt(ch, CURLOPT_POSTFIELDS, NULL);
- curl_easy_setopt(ch, CURLOPT_POSTFIELDSIZE, 0L);
- curl_easy_setopt(ch, CURLOPT_HTTPPOST, NULL);
- curl_easy_setopt(ch, CURLOPT_IOCTLDATA, NULL);
- curl_easy_setopt(ch, CURLOPT_READDATA, NULL);
- curl_easy_setopt(ch, CURLOPT_INFILESIZE, 0L);
- curl_easy_setopt(ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_NONE);
- curl_easy_setopt(ch, CURLOPT_CUSTOMREQUEST, NULL);
- curl_easy_setopt(ch, CURLOPT_NOBODY, 0L);
- curl_easy_setopt(ch, CURLOPT_POST, 0L);
- curl_easy_setopt(ch, CURLOPT_UPLOAD, 0L);
- curl_easy_setopt(ch, CURLOPT_HTTPGET, 1L);