[Freeswitch-users] Confused with event content lengths
Brian West
brian at freeswitch.org
Sun Jun 28 12:23:28 PDT 2009
Yes it says 264 bytes read exactly 264 bytes or die trying.
/b
On Jun 28, 2009, at 1:57 PM, João Mesquita wrote:
> If I am not mistaken, you are always safe reading the amount data
> expressed on Content-Length since it is calculated based on the
> total message length before it is sent out of FS.
>
> From a protocol point of view, it would indeed be much better to
> rely on something such as Content-Length then \n\n termination
> string. As I get to know more and more the core developers, I doubt
> they would rely on the latter.
>
> Hope it helps...
>
> jmesquita
More information about the FreeSWITCH-users
mailing list