mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:03:04 +01:00
Fixed bug CORE-2656 : Error reading data from the connection. On disconnect
Thanks to Oleg Matveyev for test case and assistance
This commit is contained in:
parent
a64bb88435
commit
d2c89f53f3
@ -3039,6 +3039,7 @@ static bool packet_receive(rem_port* port, UCHAR* buffer, SSHORT buffer_length,
|
||||
|
||||
if (!n)
|
||||
{
|
||||
if (!(port->port_flags & PORT_detached))
|
||||
inet_error(port, "read end_of_file", isc_net_read_err, inetErrNo);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user