diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-10-06 19:06:33 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-10-06 19:06:33 +0300 |
commit | 703d79042b8dd161e7c53d485b90af2b926148e6 (patch) | |
tree | 200bd794849143a65db70c43ceb9f184d8cc2b17 | |
parent | 481e950b8696740397eeda0d3c01a2dda2239143 (diff) | |
download | unit-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.
-rw-r--r-- | src/nxt_unit.c | 4 |
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; } |