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

Submitted by:  PIPON <harvey>
Submitted on:  Mon 30 May 2016 08:42:09 AM UTC  
 
Category: TCPSeverity: 3 - Normal
Item Group: Change RequestStatus: Invalid
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 30 May 2016 10:25:44 AM UTCgoldsimonStatusNone=>Invalid
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1