Pbooth,
Basically, i am receiving a complete json doc as a chunk from one app server which is then proxied to another app which is handing each chunk as a complete request. The problem is when you put nginx in between the document is sometime divided in multiple chunks or multiple chunks are merge into one chunk and transmitted to upstream app server.
I have tried various configuration options but couldn't identify which configuration exactly controls this rechunking while proxying or max size of the chunk so there's never a case when two json docs are sent to the app in a single chunk. Ideally it should sent the chunk as is to upstream as recieved.