I am modifying an existing working filter module. I am issuing a subrequest, which is to a URI, or to a static local file (via a location in the config); I'd like to determine the size of the response that I'm getting back from the subrequest.<div>
<br></div><div>In the subrequest's header filter, I'm doing this to find out the response size:</div><div><div>if (r->upstream) {</div><div>r->upstream->headers_in.content_length_n<br></div><div><br></div>
-- <br>e: <a href="mailto:bmoran@onehub.com" target="_blank">bmoran@onehub.com</a><br>p: +1 206 390 4376<br><br>Onehub, Inc.<br><a href="http://www.onehub.com" target="_blank">www.onehub.com</a><br><br>
</div>