[reSIProcate] one minor bug in ClientPagerMessage::page()
Hi, there,
Found one minor bug in ClientPagerMessage::page()
ClientPagerMessage::page(std::auto_ptr<Contents>
contents)
{
if (mInTransaction)
{
throw new UsageUseException("Cannot send a
MESSAGE until the previous MESSAGE transaction has
completed",
__FILE__, __LINE__);
}
mRequest.header(h_CSeq).sequence()++;
mInTransaction = true;
mRequest.setContents(contents);
DebugLog(<< "ClientPagerMessage::page: " <<
mRequest);
mDum.send(mRequest);
//mRequest.releaseContents(); xkd-2004-9-30
}
If the MESSAGE message was challenged by the proxy,
the second MESSAGE with authorization header will have
no contents, so please remove the line
mRequest.releaseContents().
Thanks,
kaiduan
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca