Validation and normalization of request host.

This commit is contained in:
Valentin Bartenev
2019-02-19 20:25:25 +03:00
parent acb5b0aad7
commit 2d4697dbbe
3 changed files with 112 additions and 11 deletions

View File

@@ -526,9 +526,7 @@ nxt_h1p_conn_request_header_parse(nxt_task_t *task, void *obj, void *data)
return;
}
/* ret == NXT_ERROR */
status = NXT_HTTP_BAD_REQUEST;
status = ret;
goto error;
case NXT_AGAIN: