comparison src/http/ngx_http_script.h @ 7753: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 b82162b8496a
children 3ab8e1e2f0f7
comparison
equal deleted inserted replaced
7752:8989fbd2f89a 7753:2fec22332ff4