diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_application.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c index 8fa03e0e..50375569 100644 --- a/src/nxt_application.c +++ b/src/nxt_application.c @@ -842,7 +842,7 @@ nxt_app_http_req_header_parse(nxt_task_t *task, nxt_app_parse_ctx_t *ctx, h->done = 1; h->version.start = p->version.str; - h->version.length = nxt_strlen(p->version.str); + h->version.length = sizeof(p->version.str); h->method = p->method; |