Since the netstats handler calls on functions which reach deep into the networking stack, there is a lot of points actually at which it can be blocked, even forever. So having this handler on the system workqueue is not a good idea and can even cause a deadlock in some cases if it's blocked waiting on a synchronization primitive that would be given by a work item scheduled later in the queue. Therefore, make a workqueue specifically for this http server socket instead of using the system one. Signed-off-by: Declan Snyder <declan.snyder@nxp.com> |
||
|---|---|---|
| .. | ||
| big_http_download | ||
| can | ||
| coap_client | ||
| coap_download | ||
| coap_server | ||
| dumb_http_server | ||
| dumb_http_server_mt | ||
| echo | ||
| echo_async | ||
| echo_async_select | ||
| echo_client | ||
| echo_server | ||
| echo_service | ||
| http_client | ||
| http_get | ||
| http_server | ||
| net_mgmt | ||
| packet | ||
| sntp_client | ||
| socketpair | ||
| tcp | ||
| txtime | ||
| websocket_client | ||
| sockets.rst | ||