nxt_controller.c (1049:961567625038) nxt_controller.c (1167:a49ee872e83d)
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>

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

473
474 if (nxt_slow_path(nxt_http_parse_request_init(&r->parser, c->mem_pool)
475 != NXT_OK))
476 {
477 nxt_controller_conn_free(task, c, NULL);
478 return;
479 }
480
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>

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

473
474 if (nxt_slow_path(nxt_http_parse_request_init(&r->parser, c->mem_pool)
475 != NXT_OK))
476 {
477 nxt_controller_conn_free(task, c, NULL);
478 return;
479 }
480
481 r->parser.encoded_slashes = 1;
482
481 b = nxt_buf_mem_alloc(c->mem_pool, 1024, 0);
482 if (nxt_slow_path(b == NULL)) {
483 nxt_controller_conn_free(task, c, NULL);
484 return;
485 }
486
487 c->read = b;
488 c->socket.data = r;

--- 1245 unchanged lines hidden ---
483 b = nxt_buf_mem_alloc(c->mem_pool, 1024, 0);
484 if (nxt_slow_path(b == NULL)) {
485 nxt_controller_conn_free(task, c, NULL);
486 return;
487 }
488
489 c->read = b;
490 c->socket.data = r;

--- 1245 unchanged lines hidden ---