mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 12:13:47 +00:00
fixed bug #30300 (shutdown parameter was not initialized in netconn_delete)
This commit is contained in:
parent
0f74a57267
commit
48be546357
@ -224,6 +224,11 @@ HISTORY
|
||||
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2010-06-30: Simon Goldschmidt
|
||||
* api_msg.c: fixed bug #30300 (shutdown parameter was not initialized in
|
||||
netconn_delete)
|
||||
|
||||
2010-06-28: Kieran Mansley
|
||||
* timers.c remove unportable printing of C function pointers
|
||||
|
||||
|
@ -845,6 +845,7 @@ do_delconn(struct api_msg_msg *msg)
|
||||
LWIP_ASSERT("already writing or closing", msg->conn->current_msg == NULL &&
|
||||
msg->conn->write_offset == 0);
|
||||
msg->conn->state = NETCONN_CLOSE;
|
||||
msg->msg.sd.shut = NETCONN_SHUT_RDWR;
|
||||
msg->conn->current_msg = msg;
|
||||
do_close_internal(msg->conn);
|
||||
/* API_EVENT is called inside do_close_internal, before releasing
|
||||
|
Loading…
Reference in New Issue
Block a user