diff options
author | Sverker Eriksson <[email protected]> | 2013-01-29 19:04:22 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-01-29 19:04:22 +0100 |
commit | 6aa9e71dbb279a172b5a2c86f28cbfada1b68080 (patch) | |
tree | ae94e92cb0279d5612ceacf21527568fca1f4c1a /erts/emulator/drivers/common | |
parent | 952db27ba0a5b87a2a47f3a7034a9bf92e3651e5 (diff) | |
download | otp-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/emulator/drivers/common')
-rw-r--r-- | erts/emulator/drivers/common/inet_drv.c | 2 |
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; } |