[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Last call for 1.4.0rc1 issues
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Last call for 1.4.0rc1 issues |
Date: |
Mon, 20 Sep 2010 14:34:49 +0100 |
On Mon, 2010-09-20 at 14:36 +0200, Martin Velek wrote:
> Hello,
>
> I would like to open discussion about sending data over LWIP socket
> API(1.4.x) in the non-blocking or MSG_DONTWAIT mode.
> The current implementation returns always EMSGSIZE if data size is
> more than ((size > TCP_SND_BUF) || ((size / TCP_MSS) >
> TCP_SND_QUEUELEN)). I cannot find exact description of this situation
> but I think that lwip should send as much as possible(and returns
> less than required) and if the output buffer is full it would return
> -1 with error EAGAIN or EWOULDBLOCK.
Sounds reasonable to me, particularly as you're able to show Linux
behaving as you describe.
Please file a bug. I don't think it's serious enough to prevent 1.4.1
but it will almost certainly make it into the next minor release.
Kieran