nginx 0.8.41 segfaults in ngx_list_push

Maxim Dounin mdounin at
Tue Jun 22 05:39:13 MSD 2010


On Mon, Jun 21, 2010 at 05:32:00PM -0700, Roman Vasilyev wrote:

> Sounds good,
> just one extra question about nginx variables. I'm using for storage
> of 6 variables 1 file and then splitting this data by strsep. All
> what I can find about variable callbacks working revers direction:
> 1. I'm requesting some variable;
> 2. Callback making some calculations and filling memory with variable
> In my case I have to open this file 6 times and make splitting 6 times.
> Is it possible to define 6 variables at one step or is possible to
> save parsed data in some kind of cache?

Just cache parsed data in module context once first variable 
request comes, it's fairy trivial.

Maxim Dounin

More information about the nginx mailing list