[reSIProcate] bug in ServerPublication::dispatch()
Noiile
noiile at hotmail.com
Tue Oct 18 05:24:46 CDT 2005
resiprocate-devel, Hello
Bug in function
ServerPublication::dispatch(const SipMessage& msg)
{
...........
if (msg.exists(h_SIPIfMatch))
{
if (mExpires == 0)
{
handler->onRemoved(getHandle(), mEtag, msg, mExpires);
Helper::makeResponse(mLastResponse, mLastRequest, 200);
BUG----> //mDum.send(mLastRequest);
//code added by NOIILE, should send response, not request! and expires should be set 0;
mLastResponse.header(h_Expires).value() = mExpires;
mDum.send(mLastResponse);
..........
}
Noiile, noiile at hotmail.com
2005-10-18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20051018/5e26477a/attachment.htm>
More information about the resiprocate-devel
mailing list