mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
fix(socket_mt): disable real "shutdown" function
internal: b3e8a313
This commit is contained in:
2
VERSION
2
VERSION
@ -13,7 +13,7 @@ gwen:
|
||||
gitlab:
|
||||
espconn: 3a998034
|
||||
freertos: a9985a9c
|
||||
lwip: 391bef1e
|
||||
lwip: 1651e055
|
||||
driver: 7bee5263
|
||||
mbedtls: 1ac9f1f4
|
||||
ssl: eefb383a
|
||||
|
BIN
lib/liblwip.a
BIN
lib/liblwip.a
Binary file not shown.
@ -832,7 +832,7 @@ int lwip_fcntl_mt(int s, int cmd, int val)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int lwip_shutdown_mt(int s, int how)
|
||||
LOCAL int __lwip_shutdown_mt(int s, int how)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@ -847,6 +847,11 @@ int lwip_shutdown_mt(int s, int how)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int lwip_shutdown_mt(int s, int how)
|
||||
{
|
||||
return lwip_shutdown(s, how);
|
||||
}
|
||||
|
||||
int lwip_close_mt(int s)
|
||||
{
|
||||
int ret;
|
||||
@ -854,7 +859,7 @@ int lwip_close_mt(int s)
|
||||
SYS_ARCH_DECL_PROTECT(lev);
|
||||
sys_mutex_t lock_tmp[SOCK_MT_LOCK_MAX];
|
||||
|
||||
lwip_shutdown_mt(s, SHUT_RDWR);
|
||||
__lwip_shutdown_mt(s, SHUT_RDWR);
|
||||
|
||||
LWIP_ENTER_MT(s, SOCK_MT_CLOSE, 0);
|
||||
|
||||
|
Reference in New Issue
Block a user