summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nxt_router.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index b7408c3c..a3218047 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -4941,6 +4941,9 @@ nxt_router_app_prepare_request(nxt_task_t *task,
nxt_debug(task, "queue is not empty");
}
+ buf->is_port_mmap_sent = 1;
+ buf->mem.pos = buf->mem.free;
+
} else {
nxt_alert(task, "stream #%uD, app '%V': failed to send app message",
req_rpc_data->stream, &app->name);