[Top][All Lists]

[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: Gecko/20070515 Firefox/

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:


  Nachricht geschickt von/durch Savannah

reply via email to

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