BTW, I can add "r->count--;" in my module and it seems to work. But I don't feel it is the right thing especially when I'm not sure how it works. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253906,253907#msg-253907