[njs] Fetch: fixed heap-buffer-overflow in Headers.get().

2024-05-24 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/f75f670905f0 branches: changeset: 2339:f75f670905f0 user: Dmitry Volyntsev date: Thu May 23 22:50:34 2024 -0700 description: Fetch: fixed heap-buffer-overflow in Headers.get(). Previously, when more than one header with the same name added to a

[njs] Added fast path in njs_chb_utf8_length() for ASCII input.

2024-05-24 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/437fc09db765 branches: changeset: 2338:437fc09db765 user: Dmitry Volyntsev date: Thu May 23 22:50:19 2024 -0700 description: Added fast path in njs_chb_utf8_length() for ASCII input. diffstat: src/njs_chb.h| 19

[PATCH] Add $upstream_cache_key

2024-05-24 Thread Kirill A . Korinsky
Greetings, Here is a patch that exposes the constructed cache key as $upstream_cache_key variable. Sometimes it's quite useful when debugging complicated setups and fighting some typos. I've attached two patches: 1. from me to add that variable 2. from Maxim Dounin to update docs -- wbr,