Custom response codes and content-types for memcache module

Maxim Dounin mdounin at
Thu Aug 21 16:36:22 MSD 2008


On Tue, Aug 19, 2008 at 04:02:14PM +0200, Spil Games wrote:

>Spil Games wrote:
>> I have done my best (see attached patch), but somehow Nginx doesn't like 
>> the 'ngx_list_push(&u->headers_in.headers)' code I copied from the 
>> fastcgi module. The code in question is commented out in the attached 
>> patch, so it just skips over the headers. Whenever enabled, debug output 
>> shows that headers are parsed correctly, but Nginx crashes with a SIGFPE 
>> after returning an NGX_OK from the process_header handler.
>> I have no idea what is going on and have spent hours looking over the 
>> code of both the fastcgi and proxy modules. Could you have a look to see 
>> what I'm doing wrong? I am about to pull my hair. ;-)
>Hi Maxim, Igor, (Evan?),
>Would one of you be so kind to look at the patch I submitted last 
>I'd like to wrap this up and let the community benefit of these 
>additions to the memcached module, but I cannot get it to work without 
>crashing currently. I really need some guidance to become a more skilled 
>Nginx contributor. ;-)

I have it in my TODO and will take a look as soon as time permits.

Maxim Dounin

More information about the nginx mailing list