aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_js.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2022-11-10 09:33:36 -0800
committerDmitry Volyntsev <xeioex@nginx.com>2022-11-10 09:33:36 -0800
commit5e9a6d568d8c5f963aaa08937de6d4002d9108e3 (patch)
treeeaceecdae83a670f3b040655b53e22c6fb3d8882 /nginx/ngx_js.c
parent70dedf5b75197ca567e285c61e24b48ecece8da3 (diff)
downloadnjs-5e9a6d568d8c5f963aaa08937de6d4002d9108e3.tar.gz
njs-5e9a6d568d8c5f963aaa08937de6d4002d9108e3.zip
Change: the default JS stack size is reduced to 64k.
After 86784a68e8c8 (Computed goto) the size of a stack frame njs_vmcode_interpreter() when -O0 is specified during compilation increased significantly. This might cause system stack overflow for very deep recursive calls because system stack is exausted faster than JS stack. It is possible now to specify JS stack size for CLI.
Diffstat (limited to 'nginx/ngx_js.c')
0 files changed, 0 insertions, 0 deletions