[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #23726] pbuf pool exhaustion on slow recv()
From: |
Thomas Taranowski |
Subject: |
[lwip-devel] [bug #23726] pbuf pool exhaustion on slow recv() |
Date: |
Thu, 10 Jul 2008 20:07:09 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727) |
Follow-up Comment #7, bug #23726 (project lwip):
Regarding the initial question, the socket in question was UDP. I see some
mention here that SO_RCVBUF has been implemented, and I see it in CVS head. I
believe that solution will work for my needs, with the following tweak in
netconn_alloc():
conn->recv_bufsize = INT_MAX
to
conn->recv_bufsize = RECV_BUFSIZE //as defined in my opts.h, and
lwip_opts.h, as Simon mentions.
I see this feature was implemented by Frederic back in Novemeber, so my bad
for not seeing it. If we implement Simon's proposed mod to default to a sane
recvbuf size (num pbufs/2 or something similar), as defined in opts.h, rather
than INT_MAX, then this bug can be closed out.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?23726>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/