Parallel subrequests

Maxim Dounin mdounin at
Thu Dec 26 17:12:16 UTC 2013


On Thu, Dec 26, 2013 at 11:21:42AM -0500, honwel wrote:

> Excepting response:
> "John abc"
> Not 
> Response1:"John"
> Response2:"abc"
> Thanks for your patience!

Yes.  What I suggested is to write a filter which will transform


as available after the pospone filter to 

"John abc"

you want to have as a result.  This should be easier than writing 
a filter which will also wait for all subrequests.  If it doesn't 
work for you (e.g., if concatenation of subrequest responses isn't 
parsable), you may do subrequest serialization yourself, before 
the postpone filter.

Maxim Dounin

More information about the nginx mailing list