Hi,
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
proxy module,
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() ?
Thank you,
Matthieu.
--
Matthieu Tourne
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx