|
From: | address@hidden |
Subject: | Re: [lwip-users] netconn_new() hangs when link is down |
Date: | Tue, 17 Feb 2015 21:32:04 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Bastiaan van Kesteren wrote:
Once the link has been up and goes down, the very next call to one of these 'client' applications causes it to hang; [..] The sys_arch_sem_wait() never returns, the semaphore is never signalled. Plugging the network cable back in doesn't resolve the issue, a restart is required. I'd much rather have some kind of ERR_CONN return value somewhere.... Anyone with idea's about whats going on?
No, but try to have a look at lwip_stats, maybe you're out of memory in one of the pools?
If that fails, try enabling tracing. Simon
[Prev in Thread] | Current Thread | [Next in Thread] |