8
0
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:
hvlad 2009-10-11 19:54:04 +00:00
parent a64bb88435
commit d2c89f53f3

View File

@ -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;
}