nginx 0.8.41 segfaults in ngx_list_push

Roman Vasilyev roman at anchorfree.com
Wed Jun 23 02:03:12 MSD 2010


On 06/21/2010 06:39 PM, Maxim Dounin wrote:
> Hello!
>
> 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.
>    
Can I cache some data in request or connection context?
> Maxim Dounin
>    




More information about the nginx mailing list