summaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-01-09 16:50:47 +0300
committerValentin Bartenev <vbart@nginx.com>2018-01-09 16:50:47 +0300
commite8aada94de284384d6cc9a3e580ef61ed80f4471 (patch)
tree494591f030870a113b952aee77eee258a1313f58 /src/test
parentc85c9dc7a8783c1f3d976d7870d02e29b34aaf98 (diff)
downloadunit-e8aada94de284384d6cc9a3e580ef61ed80f4471.tar.gz
unit-e8aada94de284384d6cc9a3e580ef61ed80f4471.tar.bz2
HTTP parser: allowing underscore in header field names.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/nxt_http_parse_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/nxt_http_parse_test.c b/src/test/nxt_http_parse_test.c
index 9af3acad..bd577e10 100644
--- a/src/test/nxt_http_parse_test.c
+++ b/src/test/nxt_http_parse_test.c
@@ -242,7 +242,7 @@ static nxt_http_parse_test_case_t nxt_http_test_cases[] = {
{
nxt_string("GET / HTTP/1.1\r\n"
"Ho_st: example.com\r\n\r\n"),
- NXT_ERROR,
+ NXT_DONE,
NULL, { NULL }
},
{