[OpenSER-Users] OpenSer closes TCP connection if receives wrong data

Iñaki Baz Castillo ibc at in.ilimit.es
Wed Apr 16 14:35:51 CEST 2008


El Wednesday 16 April 2008 11:58:14 Bogdan-Andrei Iancu escribió:
> in
> TCP, you heavily relay on Content-Len hdr which tells you the len of the
> package; and if there is a parse error and the current message could not
> be properly delimited, it will quite difficult to synchronize back and
> delimit the following messages. So, the beset way to re-synchronize is
> to close the connection

Thanks. I've tyed some UAS's that don't close the connection, but just restart 
the parsing, so they "forget" all data received and expect to receive a SIP 
message first_line.

Thanks for your explanation. :)



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list