diff options
author | Alejandro Colomar <alx@nginx.com> | 2023-01-10 22:03:40 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@nginx.com> | 2023-03-21 13:02:38 +0100 |
commit | 773c341d70d45a501e6ed4adb0fc6d385423a920 (patch) | |
tree | 5a69edf44d2f0730a33f6229d71daaba733c1a66 /src/nxt_aix_send_file.c | |
parent | c18dd1f65b9eba988bb621a4b540fb6c7bda36c8 (diff) | |
download | unit-773c341d70d45a501e6ed4adb0fc6d385423a920.tar.gz unit-773c341d70d45a501e6ed4adb0fc6d385423a920.tar.bz2 |
HTTP: rewrote while loop as for loop.
This considerably simplifies the function, and will also help log the
iteration in which we are, which corresponds to the route array element.
Link: <https://github.com/nginx/unit/pull/824>
Link: <https://github.com/nginx/unit/pull/839>
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Tested-by: Liam Crilly <liam@nginx.com>
Reviewed-by: Zhidao Hong <z.hong@f5.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
Diffstat (limited to 'src/nxt_aix_send_file.c')
0 files changed, 0 insertions, 0 deletions