[erlang-bugs] Re: send_timeout doesn't work
Ahmed Omar
spawn.think@REDACTED
Mon Mar 21 10:59:41 CET 2011
http://erlang.2086793.n4.nabble.com/tcp-connection-with-timeout-td2090360.html
On Mon, Mar 21, 2011 at 7:34 AM, Evgeniy Khramtsov <xramtsov@REDACTED>wrote:
> 15.03.2011 23:22, Evgeniy Khramtsov wrote:
>
>> It seems like there is a bug in send_timeout option of a TCP socket: the
>> timeout is completely ignored (at least in active-once mode).
>> The code to reproduce: http://kuku.jabber.ru/~xram/lock.erl
>> Just compile it and start lock:listen() in one shell and lock:send() in
>> another: over a time you will see that the receiving process is locked in
>> prim_inet:send/3 and doesn't process current message in the mailbox. You can
>> also play with PORT and SEND_TIMEOUT macros if needed.
>>
>> Versions tested: R13B02 and R14B01 (on Debian 2.6.32-5-amd64 SMP).
>>
>>
> Any response on this? Has anyone been able to reproduce the problem?
>
>
> --
> Regards,
> Evgeniy Khramtsov, ProcessOne.
> xmpp:xram@REDACTED
>
>
> ________________________________________________________________
> erlang-bugs (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-bugs-unsubscribe@REDACTED
>
>
--
Best Regards,
- Ahmed Omar
http://nl.linkedin.com/in/adiaa
Follow me on twitter
@spawn_think <http://twitter.com/#!/spawn_think>
More information about the erlang-bugs
mailing list