[reSIProcate] Bug in handleBadRequest
Scott Godin
slgodin at icescape.com
Tue Mar 13 11:57:29 CDT 2007
Byron,
Looking at Roberts problem, I noticed the following - probably why we
can't figure out why the 400. I suspect the 400 is due to a bad content
length - but fixing this will help determine.
Scott
error->getReason should read badReg->getReason
bool
TransactionState::handleBadRequest(const resip::SipMessage& badReq,
TransactionController& controller)
{
assert(badReq.isRequest() && badReq.method() != ACK);
try
{
SipMessage* error = Helper::makeResponse(badReq,400);
error->header(h_StatusLine).reason()+="(" + error->getReason() +
")";
Tuple target(badReq.getSource());
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070313/eeddc0bb/attachment.htm>
More information about the resiprocate-devel
mailing list