Deleted
Added
nxt_http_parse_test.c (494:7c83ddcc1c42) | nxt_http_parse_test.c (574:1ec560778942) |
---|---|
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" --- 214 unchanged lines hidden (view full) --- 223 { 224 nxt_string("GET / HTTP/1.1\r\n" 225 "Host: example.com\r\n\r\n"), 226 NXT_DONE, 227 NULL, { NULL } 228 }, 229 { 230 nxt_string("GET / HTTP/1.1\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" --- 214 unchanged lines hidden (view full) --- 223 { 224 nxt_string("GET / HTTP/1.1\r\n" 225 "Host: example.com\r\n\r\n"), 226 NXT_DONE, 227 NULL, { NULL } 228 }, 229 { 230 nxt_string("GET / HTTP/1.1\r\n" |
231 "Host:example.com \r\n\r\n"), 232 NXT_DONE, 233 NULL, { NULL } 234 }, 235 { 236 nxt_string("GET / HTTP/1.1\r\n" |
|
231 "Host:\r\n\r\n"), 232 NXT_DONE, 233 NULL, { NULL } 234 }, 235 { 236 nxt_string("GET / HTTP/1.1\r\n" 237 "Host example.com\r\n\r\n"), 238 NXT_HTTP_PARSE_INVALID, --- 543 unchanged lines hidden --- | 237 "Host:\r\n\r\n"), 238 NXT_DONE, 239 NULL, { NULL } 240 }, 241 { 242 nxt_string("GET / HTTP/1.1\r\n" 243 "Host example.com\r\n\r\n"), 244 NXT_HTTP_PARSE_INVALID, --- 543 unchanged lines hidden --- |