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

RE: [reSIProcate] bug in ServerPublication::dispatch()


Fixed – thanks!

 


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Noiile
Sent: Tuesday, October 18, 2005 6:25 AM
To: resiprocate-devel
Subject: [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