nxt_controller.c (379:e01f2cadf399) nxt_controller.c (386:d9e23ae1617d)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include <nxt_main.h>

--- 707 unchanged lines hidden (view full) ---

716 nxt_conn_t *c;
717
718 c = obj;
719
720 nxt_debug(task, "controller conn free");
721
722 nxt_sockaddr_cache_free(task->thread->engine, c);
723
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include <nxt_main.h>

--- 707 unchanged lines hidden (view full) ---

716 nxt_conn_t *c;
717
718 c = obj;
719
720 nxt_debug(task, "controller conn free");
721
722 nxt_sockaddr_cache_free(task->thread->engine, c);
723
724 nxt_mp_destroy(c->mem_pool);
725
726 //nxt_free(c);
724 nxt_conn_free(task, c);
727}
728
729
730static nxt_int_t
731nxt_controller_request_content_length(void *ctx, nxt_http_field_t *field,
732 nxt_log_t *log)
733{
734 off_t length;

--- 555 unchanged lines hidden ---
725}
726
727
728static nxt_int_t
729nxt_controller_request_content_length(void *ctx, nxt_http_field_t *field,
730 nxt_log_t *log)
731{
732 off_t length;

--- 555 unchanged lines hidden ---