<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
Hi,<BR>
<BR>
Gavin is on holiday today and Monday morning.&nbsp; I will rebuild and update our test system so he can test it Monday afternoon.<BR>
<BR>
Thanks,<BR>
<BR>
Peter<BR>
<BR>
On Fri, 2012-11-09 at 11:09 +0100, Daniel-Constantin Mierla wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hello,

can you try with the patch from this commit?

<A HREF="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b255c406ba09ff229361a3bc14cc1c9fd076b52e">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b255c406ba09ff229361a3bc14cc1c9fd076b52e</A>

Cheers,
Daniel

On 11/8/12 12:09 PM, Gavin Llewellyn wrote:
&gt; I've been doing some testing of MSRP clients, using Kamailio as the 
&gt; MSRP relay.  While testing file transfers, I found that certain files 
&gt; were getting stuck at a consistent offset, though the offset varied 
&gt; depending on the file.  With TCP traces, I found that Kamailio 
&gt; continues to send 200 responses to the file sender, but stops 
&gt; forwarding the chunks to the receiver.  This seems to continue until 
&gt; the TCP read buffer overflows, at which point further chunks are 
&gt; forwarded as normal (the previous chunks are lost).
&gt;
&gt; I suspected it may be due to file content, so after narrowing down the 
&gt; chunk sizes, I've identified the two-character problem sequence: 0a 2d 
&gt; (a.k.a. line-feed dash).  I can reproduce the issue with a simple, 
&gt; single-chunk message where the body only contains these two 
&gt; characters.  Is Kamailio getting this confused with the start of the 
&gt; MSRP end-line?
&gt;
&gt; An example message is below, with all the CRs and LFs made explicit:
&gt;
&gt; MSRP wm4qf7sj SEND\r\n
&gt; To-Path: msrp://192.168.0.74:2855/s.7692.44.867977799;tcp 
&gt; msrp://192.168.0.74:2855/s.7693.28.862091983;tcp 
&gt; msrp://192.168.0.144:2855/7k5myvdmx7;tcp\r\n
&gt; From-Path: msrp://192.168.0.124:2855/8ka1fpl1bw;tcp\r\n
&gt; Message-ID: 3561360866.5sxkocu6\r\n
&gt; Success-Report: yes\r\n
&gt; Failure-Report: yes\r\n
&gt; Content-Disposition: inline\r\n
&gt; Byte-Range: 1-2/2\r\n
&gt; Content-Type: text/plain\r\n
&gt; \r\n
&gt; \n-\r\n
&gt; -------wm4qf7sj$\r\n
&gt;
&gt; Regards,
&gt; Gavin
&gt;
&gt;
&gt; _______________________________________________
&gt; sr-dev mailing list
&gt; <A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
&gt; <A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>

</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>