<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=x-gbk" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
The scenario you are describing is not possible because the TCP
connection has attached to it the actual SIP msg that has been read
so far. So if one worker receives EAGAIN, it will put the TCP
connection back on the IN reactor, and when the FD will be triggered
again, another worker will continue to read to the same SIP msg as
the previous worker.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 12/05/2011 05:16 AM, dongwflj wrote:
<blockquote
cite="mid:1269758d.602b.1340c3941c0.Coremail.dongwflj@163.com"
type="cite">
<div style="line-height: 1.7; color: rgb(0, 0, 0); font-size:
14px; font-family: arial;">
<div>Hi:</div>
<div>I am learning opensip2, it seems currently no support for
epoll ET, will we support it in future?</div>
<div>If we use ET, two TCP sip messages come to server, I think
one worker thread should read all but till EAGAIN, but during
the worker thread is reading, another new packet coming on the
same connection, that will trigger another worker thread start
to read buffer, will it cause the 2 worker thread read wrong
data? How can we solve this kind of problem? Thanks! </div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<br>
<span title="neteasefooter"><span id="netease_mail_footer"></span></span>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>