summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 08dd95ff..6cadb816 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -298,12 +298,17 @@ nxt_router_ra_release(nxt_task_t *task, void *obj, void *data)
if (ra->app_port != NULL) {
+ nxt_router_app_release_port(task, ra->app_port, ra->app_port->app);
+
+#if 0
+ /* Uncomment to hold app port until complete response received. */
if (ra->rc->conn != NULL) {
ra->rc->app_port = ra->app_port;
} else {
nxt_router_app_release_port(task, ra->app_port, ra->app_port->app);
}
+#endif
}
nxt_mp_release(ra->mem_pool, ra);