|
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 |
URL: <https://savannah.nongnu.org/bugs/?57639> Summary: lwip_close or lwip_shutdown doesn't cancel blocking lwip_recv 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 _______________________________________________________ Details: 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 behaviour. Is this intended? _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/bugs/?57639> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |