Mercurial > hg > nginx-quic
comparison auto/os/linux @ 8252:2fec22332ff4
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 10 Dec 2020 20:09:39 +0300 |
parents | f7e79596baf2 |
children | d3747ba486e7 e2e9e0fae747 |
comparison
equal
deleted
inserted
replaced
8251:8989fbd2f89a | 8252:2fec22332ff4 |
---|