| 832 | } |
| 833 | |
| 834 | void CURLConnection::updateHeaderList(struct curl_slist *headerList) |
| 835 | { |
| 836 | if (headerList) { |
| 837 | curl_easy_setopt(mHttp_handle, CURLOPT_HTTPHEADER, headerList); |
| 838 | } else { |
| 839 | curl_easy_setopt(mHttp_handle, CURLOPT_HTTPHEADER, NULL); |
| 840 | } |
| 841 | } |
| 842 | void CURLConnection::disableCallBack() |
| 843 | { |
| 844 | if (mHttp_handle) { |