tasklwIP - A Lightweight TCP/IP stack - Tasks: task #9989, Limit data on ooseq queue

 
 

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

task #9989: Limit data on ooseq queue

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Tue 15 Dec 2009 11:36:42 AM UTC
   
 
Category:  None Should Start On:  Tue 15 Dec 2009 12:00:00 AM UTC
Should be Finished on:  Tue 15 Dec 2009 12:00:00 AM UTC Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Percent Complete:  100%
Open/Closed:  Closed Planned Release:  1.4.1
Effort:  0.00

Tue 27 Sep 2011 08:51:12 PM UTC, comment #3: 

Done.

I've chosen the "lightweight" way in terms of code size: I simply check number of bytes and number of pbufs on pcb->ooseq after queueing a new segment to ooseq. This might be slower than checking before enqueueing it, but it produces smaller code (for me).

[define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h]

Simon Goldschmidt <goldsimon>
Group administrator
Tue 18 May 2010 01:26:09 PM UTC, comment #2: 

Agreed

Kieran Mansley <kieranm>
Group Member
Thu 29 Apr 2010 04:59:07 AM UTC, comment #1: 

I'd plan this for 1.4.1 since it doesn't affect the API and doesn't really affect stability, too.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 15 Dec 2009 11:36:42 AM UTC, original submission:  

Should be implemented in the same way as for sending (both limiting bytes and number of pbufs)

Simon Goldschmidt <goldsimon>
Group administrator

 

(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 kieranm (Posted a comment)
  • -email is unavailable- added by goldsimon (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-27 goldsimon StatusNone Done
        Percent Complete0% 100%
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2010-05-18 kieranm Planned Release1.4.0 1.4.1

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code