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

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Fri 10 Feb 2017 12:59:20 PM UTC
   
 
Category:  sockets/netconn Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

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

Fixed.

Simon Goldschmidt <goldsimon>
Group administrator
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>
Group administrator
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>
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 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-16 goldsimon StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2017-02-15 goldsimon StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code