71 if(mSocketInfos.empty()) {
75 if(mPmarkHandles.empty()) {
78 ss <<
"scitag.flow=" << mSciTag
90 <<
"&" <<
"pmark.appname=" << ((mTpcType ==
TPC::TpcType::Pull) ?
"http-put" :
"http-get");
92 auto pmark = mPmark->Begin(sockInfo.client, mResource, ss.str().c_str(),
"http-tpc");
96 mPmarkHandles.emplace(sockInfo.client.addrInfo->SockFD(),std::unique_ptr<XrdNetPMark::Handle>(pmark));
100 auto pmarkHandleItor = mPmarkHandles.begin();
101 while(!mSocketInfos.empty()) {
103 auto pmark = mPmark->Begin(*sockInfo.
client.
addrInfo, *(pmarkHandleItor->second),
nullptr);
110 mPmarkHandles.emplace(fd, std::unique_ptr<XrdNetPMark::Handle>(pmark));