< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] bug in ServerPublication::dispatch()


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);
 
    ..........
}
 

2005-10-18