<div>Hi All,</div>
<div> </div>
<div>We have a SIP server which enabled NAGLE algorithm and proxy as openser ver 1.1</div>
<div> </div>
<div>SIP Server send a TLS multiple records( 2 SIP messages) in a packet to openser. Openser is reading only the first record( first SIP message). The second TLS record(sip message) is read only when the next message recieved by openser from the SIP Server.</div>

<div> </div>
<div> </div>
<div>I would like to know anybody observed this issue.  I have compared the codebase of kamailio 1.4 and openser 1.1 but didin&#39;t find any diffrence for TLS.</div>
<div> </div>
<div>I have looked at the API _tls_read() in openser which is same as that of kamilio. </div>
<div> </div>
<div>Don&#39;t we need to use SSL_pending() after SSL_read() to verify any buffer is left in the SSL layer ? </div>
<div> </div>
<div>Do you think is it due to the poll method error? The poll method we use is POLL_SIGIO_RT</div>
<div> </div>
<div>Please let me know your comments.</div>
<div> </div>
<div>Thanks in advance.</div>
<div> </div>
<div>Jijo</div>