On Tue, Mar 13, 2012 at 4:59 AM, Greg Grensteiner <email@example.com>
I'm having trouble getting a Content-Length validation task I need to work. I have been able to get what the content length should be (upstream_http_content_length) but I can't for the life of me find a way to see the size of the entry that is being put into srcache_store. Is there any way to get access to a simple length or size variable so I can do an "if content-length > srcache_store don't store" kind of task?
This wouldn't be an issue if the proxy_pass would throw an error/timeout if it get a short return, do you know of any way to do that?
I'm not sure what you're talking about here :)
Because this thread does not contain sensitive information, I've cc'd the openresty mailing list such that other people can see the discussion here :)