From 703d79042b8dd161e7c53d485b90af2b926148e6 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 6 Oct 2020 19:06:33 +0300 Subject: [PATCH] Removing a meaningless warning message. Data in the queue and the socket are transmitted independently; special READ_QUEUE and READ_SOCKET message types are used for synchronization. The warning was accidentally committed with changeset 1d84b9e4b459. --- src/nxt_unit.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/nxt_unit.c b/src/nxt_unit.c index 4e468124..f75d61bc 100644 --- a/src/nxt_unit.c +++ b/src/nxt_unit.c @@ -5764,10 +5764,6 @@ retry: nxt_unit_debug(ctx, "port{%d,%d} recv %d read_queue", (int) port->id.pid, (int) port->id.id, (int) rbuf->size); - if (port_impl->from_socket) { - nxt_unit_warn(ctx, "port protocol warning: READ_QUEUE after READ_SOCKET"); - } - goto retry; }