This repository was archived by the owner on Jan 20, 2025. It is now read-only.
Commit 350501e
committed
Prevent deadlock between DNS resolution callback and LWIP call
Stop taking the _asyncsock_mutex when DNS resolution has finished. Doing
so causes a deadlock because the callback runs in the LWIP thread and
therefore will wait forever on the _asyncsock_mutex lock, but the task
holding the lock can in turn attempt a LWIP call, which requires the
LWIP thread to be runnable.1 parent 9f82a7e commit 350501e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
| 597 | + | |
597 | 598 | | |
598 | | - | |
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| |||
0 commit comments