buglwIP - A Lightweight TCP/IP stack - Bugs: bug #27266, wait-state debug message in...

 
 

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

bug #27266: wait-state debug message in pppMain occurs every millisecond

Submitted by:  Joseph Thomas-Kerr <jokester01au>
Submitted on:  Mon 17 Aug 2009 11:11:40 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Sun 23 Aug 2009 12:36:22 PM UTC, comment #1:

I think there's not much point in keeping this message, so I'll remove it.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 17 Aug 2009 11:11:40 AM UTC, original submission:

In the pppMain loop, the code below appears to mean that the quoted debug message is printed out every millisecond, unless some data is read from the serial port. So as soon as pppMain is running, the debug message system is flooded with these messages so that you can't see anything else.

c = sio_read(pc->fd, p->payload, p->len);
if(c > 0) {
pppInProc(pd, p->payload, c);
} else {
PPPDEBUG((LOG_DEBUG, "pppMain: unit %d sio_read len=%d returned %d\n", pd, p->len, c));
sys_msleep(1); /* give other tasks a chance to run */
}

Could we remove this debug message?

Regards,
Joe.

Joseph Thomas-Kerr <jokester01au>

 

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 kieranm (Updated the item)
  • -unavailable- added by jokester01au (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 23 Aug 2009 12:49:15 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Thu 20 Aug 2009 02:11:16 PM UTCkieranmPlanned Release=>1.4.0

    Back to the top


    Powered by Savane 3.1-cleanup1