8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:03:02 +01:00

Avoid reporting of "SERVER/process_packet: broken port, server exiting" message for already detached port (affects CS only)

This commit is contained in:
hvlad 2015-11-23 16:08:38 +00:00
parent 14fb40a597
commit 12e47cc087

View File

@ -4398,7 +4398,7 @@ static bool process_packet(rem_port* port, PACKET* sendL, PACKET* receive, rem_p
{
if (!port->port_parent)
{
if (!Worker::isShuttingDown() && !(port->port_flags & PORT_rdb_shutdown))
if (!Worker::isShuttingDown() && !(port->port_flags & (PORT_rdb_shutdown | PORT_detached)))
gds__log("SERVER/process_packet: broken port, server exiting");
port->disconnect(sendL, receive);
return false;