buglwIP - A Lightweight TCP/IP stack - Bugs: bug #48056, tcp_output limitation

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #48056: tcp_output limitation

Submitter:  PIPON <harvey>
Submitted:  Mon 30 May 2016 08:42:09 AM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Change Request Status:  Invalid
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  1.4.0

Mon 30 May 2016 06:36:16 PM UTC, comment #3: 

You don't need a big buffer: either read/generated the data bit by bit or use a blocking API like netconn or sockets.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 30 May 2016 12:03:46 PM UTC, comment #2: 

Hello Simon
Thanks. I understand.
No way except a big buffer..

PIPON <harvey>
Mon 30 May 2016 10:25:44 AM UTC, comment #1: 


> Why not allowing to send data with a specific flag ?


You wouldn't gain anything: data that is sent by tcp_output() does not get freed until it is acknowledged by the remote host. It is just moved from the 'unsent' list to the 'unacked' list.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 30 May 2016 08:42:09 AM UTC, original submission:  

Hello
Using ftp to list my files directory, I got some problem with the number of item I can send.
I'm using the toelke/lwip-ftpd
During the send_next_directory, I expected to call the tcp_output function to overcome this limitation, but the function does not allow to send data during the tcp_input phase.
So it requires to store all data in a buffer (which can become huge) before sending them.
Why not allowing to send data with a specific flag ?
In this specific case the sending is very limited....
Best Regards

PIPON <harvey>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by harvey (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-30 goldsimon StatusNone Invalid
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code