nxt_http_parse_test.c (576:7567b2a5ebfb) nxt_http_parse_test.c (712:95538a9d4050)
1
2/*
3 * Copyright (C) NGINX, Inc.
4 * Copyright (C) Valentin V. Bartenev
5 */
6
7#include <nxt_main.h>
8#include "nxt_tests.h"

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

296 nxt_string("GET / HTTP/1.1\r\n"
297 "Host: exa\bmple.com\r\n\r\n"),
298 NXT_HTTP_PARSE_INVALID,
299 NULL, { NULL }
300 },
301 {
302 nxt_string("GET / HTTP/1.1\r\n"
303 "Host: пример.испытание\r\n\r\n"),
1
2/*
3 * Copyright (C) NGINX, Inc.
4 * Copyright (C) Valentin V. Bartenev
5 */
6
7#include <nxt_main.h>
8#include "nxt_tests.h"

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

296 nxt_string("GET / HTTP/1.1\r\n"
297 "Host: exa\bmple.com\r\n\r\n"),
298 NXT_HTTP_PARSE_INVALID,
299 NULL, { NULL }
300 },
301 {
302 nxt_string("GET / HTTP/1.1\r\n"
303 "Host: пример.испытание\r\n\r\n"),
304 NXT_HTTP_PARSE_INVALID,
304 NXT_DONE,
305 NULL, { NULL }
306 },
307 {
308 nxt_string("GET / HTTP/1.1\r\n"
309 "Host: xn--e1afmkfd.xn--80akhbyknj4f\r\n\r\n"),
310 NXT_DONE,
311 NULL, { NULL }
312 },

--- 517 unchanged lines hidden ---
305 NULL, { NULL }
306 },
307 {
308 nxt_string("GET / HTTP/1.1\r\n"
309 "Host: xn--e1afmkfd.xn--80akhbyknj4f\r\n\r\n"),
310 NXT_DONE,
311 NULL, { NULL }
312 },

--- 517 unchanged lines hidden ---