mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-11 23:43:15 +00:00
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) {
|
if (_pcb == NULL) {
|
||||||
/* socket is closed */
|
/* socket is closed */
|
||||||
return Write_result::WRITE_ERR_INVALID;
|
return Write_result::WRITE_ERR_IO;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(handle.kind) {
|
switch(handle.kind) {
|
||||||
|
Loading…
Reference in New Issue
Block a user