commit | f17a902d904f321b7f7d6f1be29e55c042d82dd9 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Dec 10 20:09:39 2020 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Dec 10 20:09:39 2020 +0300 |
tree | 11b4b52a729526e4b93e9227055a51312467c1c5 | |
parent | e9b1adeafd88347375a5a129ca43b4fb7ff90031 [diff] |
Removed extra allocation for r->uri. The ngx_http_parse_complex_uri() function cannot make URI longer and does not null-terminate URI, so there is no need to allocate an extra byte. This allocation appears to be a leftover from changes in 461:a88a3e4e158f (0.1.5), where null-termination of r->uri and many other strings was removed.