What is the right way if module doesnt provide data for upstream filters

I have module, that matches data going via nginx. I am buffering data,
so there is situation that there is no data to provide to upstream
filters. What is the right way to do in such case? Now I am calling
next_body_filter(r, NULL); Is that ok?

Posted at Nginx Forum: