Re: Response buffer size

2021-01-08 Thread Bernd Eckenfels
Might depend on the server block size or tcp buffers, as it will not wait till the buffers are filled, it only processes the data available in a single read. Gruss Bernd -- http://bernd.eckenfels.net Von: Joan grupoventus Gesendet: Friday, January 8, 2021

Re: Response buffer size

2021-01-08 Thread Oleg Kalnichevski
On Fri, 2021-01-08 at 16:57 +0100, Joan grupoventus wrote: > Hello, > > � > > I’m using HttpClient 4.5.7. reading responses from a backend through > a ‘HttpAsyncResponseConsumer’ on the ‘consumeContent’ method in this > way: > > � > > while ( (numBytesRead = decoder.read(this.bbuf)) > 0 ) {

RE: Response buffer size

2021-01-08 Thread Joan ventusproxy
Hi, Sorry, I’m using http async client 4.1.4. Thanks, Joan. From: Joan grupoventus Sent: Friday, January 8, 2021 4:57 PM To: 'Joan ventusproxy' Subject: Response buffer size Hello, I’m using HttpClient 4.5.7. reading responses from a backend through a ‘HttpAsyncResponseConsumer’ on the

Response buffer size

2021-01-08 Thread Joan grupoventus
Hello, � I’m using HttpClient 4.5.7. reading responses from a backend through a ‘HttpAsyncResponseConsumer’ on the ‘consumeContent’ method in this way: � while ( (numBytesRead = decoder.read(this.bbuf)) > 0 ) { ( . . . ) } where this.bbuf = ByteBuffer.allocate(32768); The