lwip: shut down TCP sockets return WRITE_ERR_IO on write

This commit is contained in:
Christian Helmuth 2019-11-12 09:03:23 +01:00
parent 6410e88698
commit e70c04ef86

View File

@ -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) {