That's what I initially thought when I glanced over it. Then I started wondering why headers are retrieved from h->req_hdrs, instead of r->headers_in. I noticed we save the request headers of the request that got a resource into the cache. Are we maybe mistakenly using those stored headers instead of the ones from the current request? I need to go over the code, but this is what popped into my head on first glance.
Doh. req_hdrs shouldn't be used there at all. Fixed in r156401.
Thanks! -- justin
