[ANN] OpenResty 1.21.4.2 released

J
  • 20 Jul '23
Hi folks,

I am happy to announce the new formal release, 1.21.4.2, of our OpenResty
web platform based on NGINX and LuaJIT. You can check the full release note
here:

http://openresty.org/en/ann-1021004002.html

You can download the software packages here:

http://openresty.org/en/download.html

The highlights of this release include:

- LuaJIT
    - Avoid negation of signed integers in C that may hold INT*_MIN, since
      recent C compilers 'take advantage' of the undefined behavior, this
      completely changes the meaning of expressions like (k == -k).
    - Correct fix for stack check when recording BC_VARG.
    - Fix trace join to BC_JLOOP originating from BC_ITERN.
    - Fix math.floor() and math.ceil().
    - Many fixes imported from Mike Pall's upstream
https://github.com/luajit/luajit repository.
- Fixed a bug that uses memory after free when encountering an invalid
IF-Match request header.
- Implements monotonic_msec() and monotonic_time() in resty.core.time.
- Includes Apple Silicon FFI ABI limitation workaround.
- Reimplemented tcpsock:sslhandshake, coroutine wrapper, and
ngx.req.is_internal with FFI.
- SSL/TLS supports passphrase protected private key.
- Fixes a segmentation fault when getting headers via ngx.req.raw_header
with
  malformed requests.
- Fixed potential null pointer dereference.
- lua-cjson module
    - empty_array can not work on Apple because cjson did not compare light
userdata
      address with masked address. Since we used json_lightudata_mask when
creating
      lightuserdata, same mask should be applied when comparing the return
of touserdata.
- headers-more-nginx-module module
    - Fixes crashes while accessing uninitialized pointers.
- lua-resty-websocket module
    - Adds mtls client cert support.
- lua-resty-memcached module
    - Implements init_pipeline(), commit_pipeline(), and cancel_pipeline().

For a comprehensive list of changes, please refer to the provided webpage.

Enjoy!

Best regards,
Jiahao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230720/567575a4/attachment.htm>
S
  • 20 Jul '23
I get a timeout error when doing this
git clone git://
github.com/yaoweibin/ngx_http_substitutions_filter_module.git
but I need this module for my openresty installation
Does any body know how to fix this?

On Wed, Jul 19, 2023 at 11:58 PM Jiahao Wang via nginx <nginx at nginx.org>
wrote:

> Hi folks,
>
> I am happy to announce the new formal release, 1.21.4.2, of our OpenResty
> web platform based on NGINX and LuaJIT. You can check the full release
> note here:
>
> http://openresty.org/en/ann-1021004002.html
>
> You can download the software packages here:
>
> http://openresty.org/en/download.html
>
> The highlights of this release include:
>
> - LuaJIT
>     - Avoid negation of signed integers in C that may hold INT*_MIN, since
>       recent C compilers 'take advantage' of the undefined behavior, this
>       completely changes the meaning of expressions like (k == -k).
>     - Correct fix for stack check when recording BC_VARG.
>     - Fix trace join to BC_JLOOP originating from BC_ITERN.
>     - Fix math.floor() and math.ceil().
>     - Many fixes imported from Mike Pall's upstream
> https://github.com/luajit/luajit repository.
> - Fixed a bug that uses memory after free when encountering an invalid
> IF-Match request header.
> - Implements monotonic_msec() and monotonic_time() in resty.core.time.
> - Includes Apple Silicon FFI ABI limitation workaround.
> - Reimplemented tcpsock:sslhandshake, coroutine wrapper, and
> ngx.req.is_internal with FFI.
> - SSL/TLS supports passphrase protected private key.
> - Fixes a segmentation fault when getting headers via ngx.req.raw_header
> with
>   malformed requests.
> - Fixed potential null pointer dereference.
> - lua-cjson module
>     - empty_array can not work on Apple because cjson did not compare
> light userdata
>       address with masked address. Since we used json_lightudata_mask when
> creating
>       lightuserdata, same mask should be applied when comparing the return
> of touserdata.
> - headers-more-nginx-module module
>     - Fixes crashes while accessing uninitialized pointers.
> - lua-resty-websocket module
>     - Adds mtls client cert support.
> - lua-resty-memcached module
>     - Implements init_pipeline(), commit_pipeline(), and cancel_pipeline().
>
> For a comprehensive list of changes, please refer to the provided webpage.
>
> Enjoy!
>
> Best regards,
> Jiahao
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> https://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230720/15890ed3/attachment.htm>
A
  • 20 Jul '23
Am 20.07.23 um 15:18 schrieb Saint Michael:
> I get a timeout error when doing this
> git clone git://github.com/yaoweibin/ngx_http_substitutions_filter_module.git 

this isn't what I would use. I tried
- git clone https://github.com/yaoweibin/ngx_http_substitutions_filter_module.git
- git clone git at github.com:yaoweibin/ngx_http_substitutions_filter_module.git

and both work. Your version timeout here, too.

Andreas
S
  • 20 Jul '23
It works fine with https://
Thanks to everybody.

On Thu, Jul 20, 2023 at 11:38 AM A. Schulze via nginx <nginx at nginx.org>
wrote:

>
>
> Am 20.07.23 um 15:18 schrieb Saint Michael:
> > I get a timeout error when doing this
> > git clone git://
> github.com/yaoweibin/ngx_http_substitutions_filter_module.git
>
> this isn't what I would use. I tried
> - git clone
> https://github.com/yaoweibin/ngx_http_substitutions_filter_module.git
> - git clone git at github.com:
> yaoweibin/ngx_http_substitutions_filter_module.git
>
> and both work. Your version timeout here, too.
>
> Andreas
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> https://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230720/e58b5dac/attachment-0001.htm>