aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-01-29 19:04:22 +0100
committerSverker Eriksson <[email protected]>2013-01-29 19:04:22 +0100
commit6aa9e71dbb279a172b5a2c86f28cbfada1b68080 (patch)
treeae94e92cb0279d5612ceacf21527568fca1f4c1a /erts
parent952db27ba0a5b87a2a47f3a7034a9bf92e3651e5 (diff)
downloadotp-6aa9e71dbb279a172b5a2c86f28cbfada1b68080.tar.gz
otp-6aa9e71dbb279a172b5a2c86f28cbfada1b68080.tar.bz2
otp-6aa9e71dbb279a172b5a2c86f28cbfada1b68080.zip
A stab at fixing bug with {exit_on_close,false} not working
when invalid packets are received.
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/drivers/common/inet_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c
index 8f4fff0f40..b9341b168d 100644
--- a/erts/emulator/drivers/common/inet_drv.c
+++ b/erts/emulator/drivers/common/inet_drv.c
@@ -8789,7 +8789,7 @@ static int tcp_recv_error(tcp_descriptor* desc, int err)
if (desc->inet.exitf)
driver_exit(desc->inet.port, err);
else
- desc_close(INETP(desc));
+ desc_close_read(INETP(desc));
}
return -1;
}