lwip: shut down TCP sockets return WRITE_ERR_IO on write
This commit is contained in:
parent
6410e88698
commit
e70c04ef86
|
@ -1435,7 +1435,7 @@ class Lwip::Tcp_socket_dir final :
|
|||
{
|
||||
if (_pcb == NULL) {
|
||||
/* socket is closed */
|
||||
return Write_result::WRITE_ERR_INVALID;
|
||||
return Write_result::WRITE_ERR_IO;
|
||||
}
|
||||
|
||||
switch(handle.kind) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user