Searched refs:baton (Results 1 – 1 of 1) sorted by relevance
223 HTTPRequest *baton = nullptr; in checkMultiInfo() local224 curl::easy_getinfo(message->easy_handle, CURLINFO_PRIVATE, (char *)&baton); in checkMultiInfo()225 assert(baton); in checkMultiInfo()226 baton->handleResult(message->data.result); in checkMultiInfo()390 auto baton = reinterpret_cast<HTTPRequest *>(userp); in headerCallback() local392 if (!baton->response) { in headerCallback()393 baton->response = std::make_unique<Response>(); in headerCallback()402 baton->response->modified = Timestamp{ Seconds(curl::getdate(value.c_str(), nullptr)) }; in headerCallback()404 baton->response->etag = std::string(buffer + begin, length - begin - 2); // remove \r\n in headerCallback()408 baton->response->expires = cc.toTimePoint(); in headerCallback()[all …]