hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anr <adiworkm...@gmail.com>
Subject Re: POST Request How to enable Chunk Size
Date Fri, 25 May 2012 16:28:18 GMT

scenario is end user speaking in the mobile device the audio stream should be
flushed to the speech engine to process as it comes.
Can you help me out by pointing to the examples how to achieve the steps you
have mentioned.

Thanks for all the help.
 


olegk wrote:
> 
> On Thu, 2012-05-24 at 15:13 -0700, anr wrote:
>> 
>> DEBUG org.apache.http.wire - >> "800[\r][\n]"
>>  org.apache.http.wire - >> "800[\r][\n]"
>> 
>> CoreConnectionPNames.SOCKET_BUFFER_SIZE
>> CoreConnectionPNames.MIN_CHUNK_LIMIT
>> 
>> How to change the transfer encoding chunk size when request is posted. I
>> want to set different chunk sizes when we post a request.
>> 
>> Thanks
> 
> Per default HttpClient use 2048 byte cache for chunk coded output. So,
> the chunks should be about 2048 bytes, unless one explicitly uses #flush
> method to flush out smaller chunks.
> 
> There is currently no (easy) way of overriding the default size of the
> chunk cache without creating a custom entity serializer and custom HTTP
> connection class.
> 
> Oleg    
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/POST-Request-How-to-enable-Chunk-Size-tp33904874p33909010.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message