[OpenSIPS-Users] bogus to header in rls subscribe
Juha Heinanen
jh at tutpro.com
Fri Jun 4 09:21:52 CEST 2010
Anca Vamanu writes:
>
> I don't think there is a '\r\n' in the middle for the start string - it
> is a dot '.'
> Here is where the string is generated:
>
> sprintf(cid, "%d.%.*s.%d", (int)time(NULL), uri_len, uri, rand());
anca,
perhaps there is a misunderstanding. i don't know if there is \r\n in
start parameter value, but start parameter does not terminate with "
like it should:
> > Content-Type: multipart/related;type="application/rlmi+xml";start="<127532956\r\n\r\n
i guess there should also be a closing > before " and both of them are
missing. you can see it from the binary file (packet 23 in enclosed
dump).
-- juha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rls-new.pcap
Type: application/octet-stream
Size: 15251 bytes
Desc: rls dump
Url : http://lists.opensips.org/pipermail/users/attachments/20100604/33c52d2c/attachment-0001.obj
More information about the Users
mailing list