Some fiddling around later, it seems that using a subrequest is much simpler than what we were trying, and as an added bonus is working (though with limited testing so far). Thanks for the pointers. Peteby plw@plwhite.org - Nginx Mailing List - English
I'm trying to figure out how to get some code working in an NGINX module we are writing. The basic idea is that requests come in to our module, and we make callouts from the module to both some external code and to an upstream HTTP interface. We then want to send responses to the requests. The bit that we are a little confused about is how to manage our responses correctly. Our code looks aby plw@plwhite.org - Nginx Mailing List - English