| 52 | using std::string; |
| 53 | |
| 54 | CURLConnection *CurlDataSource::initConnection() |
| 55 | { |
| 56 | auto *pHandle = new CURLConnection(mLocation); |
| 57 | pHandle->setSSLBackEnd(CURLShareInstance::Instance()->getSslbakcend()); |
| 58 | pHandle->setSourceConfig(&mConfig); |
| 59 | pHandle->setHeaderList(headerList); |
| 60 | pHandle->setPost(mBPost, mPostSize, mPostData); |
| 61 | return pHandle; |
| 62 | } |
| 63 | |
| 64 | int CurlDataSource::curl_connect(CURLConnection *pConnection, int64_t filePos) |
| 65 | { |
nothing calls this directly
no test coverage detected