diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c index 7aa5f53f..b9325c57 100644 --- a/src/nxt_http_parse.c +++ b/src/nxt_http_parse.c @@ -227,7 +227,7 @@ nxt_http_parse_request_line(nxt_http_request_parse_t *rp, u_char **pos, continue; } - if (rp->method.start == p && (ch == NXT_CR || ch == NXT_LF)) { + if (rp->method.start == p && (ch == '\r' || ch == '\n')) { rp->method.start++; p++; continue; |