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

Re: [reSIProcate] failed assertion in ExtensionHeader.cxx


On 9/17/05, Lorenzo <webmaster@xxxxxxxxxxxxx> wrote:
> Hello,
> I need to define a new header and I want to use the extensionheader
> feature of resiprocate, but when I wrote:
> 
> static const resip::ExtensionHeader h_Path("Path");
> 
> (like you propose in the wiki at :
> http://warsaw.sjc.purplecomm.com/wiki/index.php?title=Use_Overview#Extension_Header)
> 
> I've got a failed assertion at ExtensionHeader.cxx:25 (
> assert(Headers::getType(mName.data(), mName.size()) == Headers::UNKNOWN); )
> 

That's because there already is a Path header defined. You don't need
to define an extension header for it.