File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
components/lwip/port/esp8266 Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,11 @@ void udp_sync_ack_sock(void *in_msg)
256256 struct api_msg * msg = (struct api_msg * )in_msg ;
257257 struct udp_pcb * pcb = _get_msg_pcb (msg );
258258
259+ if (UDP_SYNC_NONE == s_msg_type ) {
260+ TCPIP_APIMSG_ACK (msg );
261+ return ;
262+ }
263+
259264 ret = _udp_sync_ack_sock_ret (msg , 0 );
260265 if (ret == ERR_OK && _udp_need_proc (pcb )) {
261266 udp_sync_method_t * method = (udp_sync_method_t * )_udp_priv_data (pcb );
Original file line number Diff line number Diff line change @@ -1305,21 +1305,21 @@ size_t memp_malloc_get_size(size_t type);
13051305 * The stack size value itself is platform-dependent, but is passed to
13061306 * sys_thread_new() when the thread is created.
13071307 */
1308- #define DEFAULT_THREAD_STACKSIZE 0
1308+ #define DEFAULT_THREAD_STACKSIZE TCPIP_THREAD_STACKSIZE
13091309
13101310/**
13111311 * DEFAULT_THREAD_PRIO: The priority assigned to any other lwIP thread.
13121312 * The priority value itself is platform-dependent, but is passed to
13131313 * sys_thread_new() when the thread is created.
13141314 */
1315- #define DEFAULT_THREAD_PRIO 1
1315+ #define DEFAULT_THREAD_PRIO TCPIP_THREAD_PRIO
13161316
13171317/**
13181318 * DEFAULT_RAW_RECVMBOX_SIZE: The mailbox size for the incoming packets on a
13191319 * NETCONN_RAW. The queue size value itself is platform-dependent, but is passed
13201320 * to sys_mbox_new() when the recvmbox is created.
13211321 */
1322- #define DEFAULT_RAW_RECVMBOX_SIZE 0
1322+ #define DEFAULT_RAW_RECVMBOX_SIZE 6
13231323
13241324/**
13251325 * DEFAULT_UDP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a
You can’t perform that action at this time.
0 commit comments