I thought Oleg pointed this out already.

If you build up a byte array for your request that byte array must fully occupy 
local memory, streaming this will both send data to the host as its constructed 
directly from the marshaller which is not only more efficient but will rule out 
any issue resulted by an incorrectly formed in memory representation of your 
payload. Who knows, maybe you have a byte array overflow thats not apparent, 
which is kinda what I'm suspecting is going on here since your issue only 
arrises once the payload reaches a certain size.

Sent from my iPhone

> On 26 Feb 2015, at 23:28, Alessandro Manzoni <[email protected]> 
> wrote:
> 
> What I would like to understand, is why an InputStreamEntity would be better 
> than a StringEntity.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to