[reSIProcate] bug in ServerPublication::dispatch()
Scott Godin
slgodin at icescape.com
Tue Oct 18 13:23:35 CDT 2005
Fixed - thanks!
________________________________
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] 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);
..........
}
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/9fb17b4c/attachment.htm>
More information about the resiprocate-devel
mailing list