68 if(mSocketInfos.empty()) {
72 if(mPmarkHandles.empty()) {
75 ss <<
"scitag.flow=" << mReq.mSciTag
87 <<
"&" <<
"pmark.appname=" << ((mTpcType ==
TPC::TpcType::Pull) ?
"http-put" :
"http-get");
89 auto pmark = mPmark->Begin(sockInfo.
client, mReq.resource.c_str(), ss.str().c_str(),
"http-tpc");
93 mPmarkHandles.emplace(sockInfo.
client.
addrInfo->
SockFD(),std::unique_ptr<XrdNetPMark::Handle>(pmark));
97 auto pmarkHandleItor = mPmarkHandles.begin();
98 while(!mSocketInfos.empty()) {
100 auto pmark = mPmark->Begin(*sockInfo.
client.
addrInfo, *(pmarkHandleItor->second),
nullptr);
107 mPmarkHandles.emplace(fd, std::unique_ptr<XrdNetPMark::Handle>(pmark));