Create a Request from a String
matthieu.tourne at gmail.com
Tue May 25 09:51:05 MSD 2010
I'm trying to store requests that comes in (let's call it request A), and I
want to be able to "replay" them later, when another query comes in with a
specific argument (request B).
I can store the request to memcache, and get it back later. But I can't
figure out how to recreate a query from a string.
The only way I can think about would be to use an upstream module with the
create_request method, but I would like to avoid duplicating most of the
and I don't necessarily want to send the saved query to an upstream.
So while processing request B, I get the saved request A as a string. Is
there at that point a way to create a request from that string like if it
was going through ngx_http_process_request_line() ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx