buglwIP - A Lightweight TCP/IP stack - Bugs: bug #50274, LWIP_NETCONN_FULLDUPLEX:...

 
 

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

bug #50274: LWIP_NETCONN_FULLDUPLEX: shutdown(rd) while writing seems broken

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Fri 10 Feb 2017 12:59:20 PM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Thu 16 Feb 2017 09:09:22 PM UTC, comment #2:

Fixed.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 15 Feb 2017 09:04:01 PM UTC, comment #1:

I should have taken the time to better describe this (although this is meant as a work reminder for myself):
lwip_netconn_do_delconn() seems to correctly handle close-while-write, but lwip_netconn_do_close() seems to have if/else cases messed up so that after aborting a running write, the code returns without executing the close/shutdown requested.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 10 Feb 2017 12:59:20 PM UTC, original submission:

Again, this is from reading the code only. I think it cannot work the way it is...

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.

 

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 (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
    Thu 16 Feb 2017 09:09:22 PM UTCgoldsimonStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Wed 15 Feb 2017 09:04:01 PM UTCgoldsimonStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1