-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting a variable from $echo_it results to crashing #2
Comments
…ted in memory invalid reads and hence segfaults; now it is evaluates to the special "not found" value. thanks baqs for reporting this in agentzh/old-openresty#2.
On Wed, May 2, 2012 at 6:31 PM, baqs
You're using the $echo_it variable at rewrite phase (because openresty/echo-nginx-module@08d36f31
Your directives in location = /getFile will not run in the order as
This is surely not what you want (but still it should not crash in any
Thanks! |
On 02/mai - 06:09, agentzh (章亦春) wrote:
thanks a lot for your explanations, I'll try to work-around that.
|
set $var $echo_it;
results to nginx crashing:
2012/05/02 12:30:13 [notice] 22517#0: signal 17 (SIGCHLD) received
2012/05/02 12:30:13 [alert] 22517#0: worker process 22518 exited on signal 11
2012/05/02 12:30:13 [notice] 22517#0: start worker process 22535
2012/05/02 12:30:13 [notice] 22517#0: signal 29 (SIGIO) received
conf:
location = /getFile {
echo_foreach_split ',' $filelist
set $file $echo_it;
echo_subrequest GET '/getFile' -q 'sha256=$file' ;
echo_end;
}
The text was updated successfully, but these errors were encountered: