Libunit: fixing read buffer allocations on exit.
@@ -5029,12 +5029,12 @@ nxt_unit_process_port_msg_impl(nxt_unit_ctx_t *ctx, nxt_unit_port_t *port)
nxt_unit_process_ready_req(ctx);
+ if (ctx_impl->online) {
rbuf = nxt_unit_read_buf_get(ctx);
if (nxt_slow_path(rbuf == NULL)) {
return NXT_UNIT_ERROR;
}
- if (ctx_impl->online) {
goto retry;
}
