summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-10-06 19:06:33 +0300
committerMax Romanov <max.romanov@nginx.com>2020-10-06 19:06:33 +0300
commit703d79042b8dd161e7c53d485b90af2b926148e6 (patch)
tree200bd794849143a65db70c43ceb9f184d8cc2b17 /src/nxt_unit.c
parent481e950b8696740397eeda0d3c01a2dda2239143 (diff)
downloadunit-703d79042b8dd161e7c53d485b90af2b926148e6.tar.gz
unit-703d79042b8dd161e7c53d485b90af2b926148e6.tar.bz2
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.
Diffstat (limited to 'src/nxt_unit.c')
-rw-r--r--src/nxt_unit.c4
1 files changed, 0 insertions, 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;
}