| 56 | #define SEEK_USE_NEW_CONNECTION 0 |
| 57 | |
| 58 | CURLConnection2 *CurlDataSource2::initConnection() |
| 59 | { |
| 60 | auto *pHandle = new CURLConnection2(&mConfig, mMulti, nullptr); |
| 61 | pHandle->setSSLBackEnd(CURLShareInstance::Instance()->getSslbakcend()); |
| 62 | pHandle->setSource(mLocation, headerList); |
| 63 | pHandle->setPost(mBPost, mPostSize, mPostData); |
| 64 | return pHandle; |
| 65 | } |
| 66 | |
| 67 | int CurlDataSource2::curl_connect(CURLConnection2 *pConnection, int64_t filePos) |
| 68 | { |
nothing calls this directly
no test coverage detected