Custom response codes and content-types for memcache module

Spil Games lists at ruby-forum.com
Tue Aug 19 18:02:14 MSD 2008


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 
Thursday:
http://www.ruby-forum.com/attachment/2541/nginx-0.6.32-memcache.broken.patch

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. ;-)


Thanks,

Matthijs
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list