[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #57639] lwip_close or lwip_shutdown doesn't cancel blo

From: Benjamin K
Subject: [lwip-devel] [bug #57639] lwip_close or lwip_shutdown doesn't cancel blocking lwip_recv
Date: Mon, 20 Jan 2020 02:29:22 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36


                 Summary: lwip_close or lwip_shutdown doesn't cancel blocking
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: bkausbk
            Submitted on: Mon 20 Jan 2020 07:29:20 AM UTC
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.1.1



While in one task lwip_recv is waiting for new data (and is blocking) it is
not possible to close/shutdown the socket from a second task, at least the
task that is waiting will never stop waiting. In such case lwip_recev should
leave blocking state and return 0 or -1. This is not the expected socket

Is this intended?


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]