<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
Thanks for the bug report, I have seen something similar that might
be connected to this in our nightly builds. I will try to reproduce
the error.<br>
<br>
Lukas<br>
<div class="moz-cite-prefix">On 10/12/14 08:03, Slava Yurin wrote:<br>
</div>
<blockquote cite="mid:720381418195025@web2m.yandex.ru" type="cite">
<div>Hi all.</div>
<div> </div>
<div>I have error behavior of gen_tcp:send/2 + <a class="moz-txt-link-freetext" href="file:sendfile/5">file:sendfile/5</a>.</div>
<div> </div>
<div>If data for send falls into buffer in port and happen
<a class="moz-txt-link-freetext" href="file:sendfile/5">file:sendfile/5</a> call, then</div>
<div>buffer not flushed and data from file send. After that any
call gen_tcp:send/2</div>
<div>only append data to buffer and not send anything. And if not
set send_timeout</div>
<div>option gen_tcp:send will hang after exceed size of buffer.
This is my guess.</div>
<div> </div>
<div>I attach test file and log of it usage.</div>
<div> </div>
<div>Have reproducible error only when [{delay_send, true},
{nodelay, false}], but in</div>
<div>real usage see same behavior without this options.
Can't reproduce it on</div>
<div>localhost and 1 file.</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
</blockquote>
<br>
</body>
</html>