lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #26672] close connection when receive window = 0


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #26672] close connection when receive window = 0
Date: Sun, 25 Oct 2009 12:07:46 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

Follow-up Comment #1, bug #26672 (project lwip):

This is a bit tricky: I'd suggest draining the recvmbox/acceptmbox from
netconn_delete before calling do_delconn. This would mean that after a call to
lwip_close/netconn_delete, no more data can be received, but that's what we
want.

I'd add a new function netconn_drain, that drains and frees conn->recvmbox
and conn->acceptmbox while calling tcp_recved() and tcp_accepted() so that the
counters are correct afterwards.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26672>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]