File tree 2 files changed +8
-3
lines changed
components/lwip/port/esp8266
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)
256
256
struct api_msg * msg = (struct api_msg * )in_msg ;
257
257
struct udp_pcb * pcb = _get_msg_pcb (msg );
258
258
259
+ if (UDP_SYNC_NONE == s_msg_type ) {
260
+ TCPIP_APIMSG_ACK (msg );
261
+ return ;
262
+ }
263
+
259
264
ret = _udp_sync_ack_sock_ret (msg , 0 );
260
265
if (ret == ERR_OK && _udp_need_proc (pcb )) {
261
266
udp_sync_method_t * method = (udp_sync_method_t * )_udp_priv_data (pcb );
Original file line number Diff line number Diff line change @@ -1291,21 +1291,21 @@ size_t memp_malloc_get_size(size_t type);
1291
1291
* The stack size value itself is platform-dependent, but is passed to
1292
1292
* sys_thread_new() when the thread is created.
1293
1293
*/
1294
- #define DEFAULT_THREAD_STACKSIZE 0
1294
+ #define DEFAULT_THREAD_STACKSIZE TCPIP_THREAD_STACKSIZE
1295
1295
1296
1296
/**
1297
1297
* DEFAULT_THREAD_PRIO: The priority assigned to any other lwIP thread.
1298
1298
* The priority value itself is platform-dependent, but is passed to
1299
1299
* sys_thread_new() when the thread is created.
1300
1300
*/
1301
- #define DEFAULT_THREAD_PRIO 1
1301
+ #define DEFAULT_THREAD_PRIO TCPIP_THREAD_PRIO
1302
1302
1303
1303
/**
1304
1304
* DEFAULT_RAW_RECVMBOX_SIZE: The mailbox size for the incoming packets on a
1305
1305
* NETCONN_RAW. The queue size value itself is platform-dependent, but is passed
1306
1306
* to sys_mbox_new() when the recvmbox is created.
1307
1307
*/
1308
- #define DEFAULT_RAW_RECVMBOX_SIZE 0
1308
+ #define DEFAULT_RAW_RECVMBOX_SIZE 6
1309
1309
1310
1310
/**
1311
1311
* 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