lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size'
Date: Wed, 20 Jun 2007 14:13:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

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

I'd guess the initial reason is both the 'lw' in lwIP's name together with
the assumption you'd never send that much data and the fact that the tcp
header also has an u16_t for its length. Since netconn api was built on the
existing tcp_write, it has taken over the u16_t. I personally don't see a
problem in that, only lwip_send should check the value and call netconn_write
multiple times to be correct (or at least assert or return a return value.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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