]> git.kaiwu.me - njs.git/commit
Modules: improved working with external prototypes.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 9 Jul 2021 14:01:26 +0000 (14:01 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 9 Jul 2021 14:01:26 +0000 (14:01 +0000)
commit6638be8d812a58bb26377e2c9cb3d67657feb05f
tree97961238ca633046ce7b3551c1c64fe919311ffb
parent11b433dda690eb44bcc6d11717d9dfda9a2c9d33
Modules: improved working with external prototypes.

This patch avoids relying on the order in which external prototypes are
registered.  Instead, the returned proto_id is expected to be stored
somewhere.
nginx/ngx_http_js_module.c
nginx/ngx_js.h
nginx/ngx_js_fetch.c
nginx/ngx_stream_js_module.c