Re: Support for Multipart request in Async HTTPClient (5.x)

2022-10-20 Thread Oleg Kalnichevski
On Thu, 2022-10-20 at 14:02 +, vostinar laurian wrote: > Hi, > Any plans to add support for multi part request in Async HTTPClient ? > Currently, there is only MultipartEntityBuilder which is part of sync > HTTPClient and can only be used in async API if all the data is > loaded in memory

Support for Multipart request in Async HTTPClient (5.x)

2022-10-20 Thread vostinar laurian
Hi, Any plans to add support for multi part request in Async HTTPClient ? Currently, there is only MultipartEntityBuilder which is part of sync HTTPClient and can only be used in async API if all the data is loaded in memory (which is not ideal). Anyone who has implemented a custom request

Re: HttpClient 5

2019-04-04 Thread Oleg Kalnichevski
On Wed, 2019-04-03 at 21:29 +0200, Joan grupoventus wrote: > Hello, > > > > Do you have a release date in mind for HttpClient5 GA? > > > > Thanks, > > > > Joan. > Hi Joan I will start a thread on time frame for 5.0 API freeze at d...@hc.apache.org Oleg

HttpClient 5

2019-04-03 Thread Joan grupoventus
Hello, Do you have a release date in mind for HttpClient5 GA? Thanks, Joan.

Re: How to do Http/2 correctly using apache-httpclient-5

2019-02-06 Thread Oleg Kalnichevski
tcp connection(verified with the help of wireshark). I use > Apache > Httpclient 5 with conscrypt to support ALPN in jdk8 (jdk8 is my > requirement, I cannot upgrade to jdk9 or later) > > The Main block goes like, > > try { > TrustManager[] trustAllCerts = new TrustMa

How to do Http/2 correctly using apache-httpclient-5

2019-02-05 Thread Santhosh Kumar
HI I m trying to write a client that makes http2 request to multiple servers(which already supports http2). so far I have written this standalone program which works fine that I can see all requests goes via same tcp connection(verified with the help of wireshark). I use Apache Httpclient 5

RE: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-11 Thread Joan Balagueró
, 10 de noviembre de 2018 19:30 Para: HttpClient User Discussion Asunto: Re: RV: Migration from Async 4.1.3 to HttpClient 5 On Sat, 2018-11-10 at 18:02 +0100, Joan Balagueró - ventusproxy wrote: > Hello Oleg, > > Sorry, but I think I'm going to need a bit more help to finish >

Re: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-10 Thread Oleg Kalnichevski
onnections to reuse, shouldn't > the max_conn value have preference? > > 2. Is TEST 5 ok? It seems the 'DefaultMaxPerRoute' cannot be applied > on the fly in a lax pool. It should have a value of 5000 but it's > preserving the previous value of 1 (test 4). > > > > Thanks , > >

RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-10 Thread Joan Balagueró - ventusproxy
Thanks , Joan. -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: viernes, 9 de noviembre de 2018 15:31 Para: HttpClient User Discussion Asunto: Re: RV: Migration from Async 4.1.3 to HttpClient 5 On Fri, 2018-11-09 at 15:19 +0100, Joan Balagueró wrote: >

Re: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-09 Thread Gary Gregory
the lax pool, only max per route. > Hi, Can you make sure this is Javadoc'd in the right places if it is not already? Gary > > Oleg > > > > Thanks, > > > > Joan. > > > > > > -Mensaje original- > > De: Oleg Kalnichevski [mailto:ol...@apache.o

Re: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-09 Thread Oleg Kalnichevski
: Re: RV: Migration from Async 4.1.3 to HttpClient 5 > > On Fri, 2018-11-09 at 13:39 +0100, Joan Balagueró wrote: > > Thanks Oleg. One more thing about the max connections with > > lax/strict > > pool. Our code to modify the number of max connections i

RE: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-09 Thread Joan Balagueró
. -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: viernes, 9 de noviembre de 2018 15:01 Para: HttpClient User Discussion Asunto: Re: RV: Migration from Async 4.1.3 to HttpClient 5 On Fri, 2018-11-09 at 13:39 +0100, Joan Balagueró wrote: > Thanks Oleg. One m

Re: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-09 Thread Oleg Kalnichevski
l: jueves, 8 de noviembre de 2018 11:04 > Para: HttpClient User Discussion > Asunto: Re: RV: Migration from Async 4.1.3 to HttpClient 5 > > On Wed, 2018-11-07 at 19:30 +0100, Joan Balagueró wrote: > > Hello Oleg, > > > > We are finishing the migration and hav

RE: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-09 Thread Joan Balagueró
[mailto:ol...@apache.org] Enviado el: jueves, 8 de noviembre de 2018 11:04 Para: HttpClient User Discussion Asunto: Re: RV: Migration from Async 4.1.3 to HttpClient 5 On Wed, 2018-11-07 at 19:30 +0100, Joan Balagueró wrote: > Hello Oleg, > > We are finishing the migration and have the last

Re: RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-08 Thread Oleg Kalnichevski
On Wed, 2018-11-07 at 19:30 +0100, Joan Balagueró wrote: > Hello Oleg, > > We are finishing the migration and have the last questions: > > 1. If a connection is kept-alive for 30s at second 0, and after 10s > is reused, this connection will die at second 30 or will survive > until second 40?

RV: Migration from Async 4.1.3 to HttpClient 5

2018-11-07 Thread Joan Balagueró
Hello Oleg, We are finishing the migration and have the last questions: 1. If a connection is kept-alive for 30s at second 0, and after 10s is reused, this connection will die at second 30 or will survive until second 40? 2. Regarding the RetryHandler, below the method inherited from http 4.5

RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-23 Thread Joan Balagueró
Hi Oleg, Thanks! I'll try it asap Joan. -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: martes, 23 de octubre de 2018 9:28 Para: HttpClient User Discussion Asunto: Re: Migration from Async 4.1.3 to HttpClient 5 On Mon, 2018-10-22 at 20:40 +0200, Joan

Re: Migration from Async 4.1.3 to HttpClient 5

2018-10-23 Thread Oleg Kalnichevski
commit/75ca519314b783ba0d314e84f3a7e3488a7c968c Oleg > > -Mensaje original- > De: Oleg Kalnichevski [mailto:ol...@apache.org] > Enviado el: domingo, 21 de octubre de 2018 13:11 > Para: HttpClient User Discussion > Asunto: Re: Migration from Async 4.1.3 to HttpClient 5 > > On

RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-22 Thread Joan Balagueró
That would be great. Thanks Oleg. -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: domingo, 21 de octubre de 2018 13:11 Para: HttpClient User Discussion Asunto: Re: Migration from Async 4.1.3 to HttpClient 5 On Sat, 2018-10-20 at 20:23 +0200, Joan Balagueró

Re: Migration from Async 4.1.3 to HttpClient 5

2018-10-21 Thread Oleg Kalnichevski
sion > Asunto: Re: Migration from Async 4.1.3 to HttpClient 5 > > On Fri, 2018-10-19 at 21:07 +0200, Joan Balagueró wrote: > > Hello Oleg, > > > > I think it's a bit more complicated ... Let me explain it: > > > > - we have a pool with a response ti

RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-20 Thread Joan Balagueró
(and avoid read the response body content). Thanks, Joan. -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: sábado, 20 de octubre de 2018 18:17 Para: HttpClient User Discussion Asunto: Re: Migration from Async 4.1.3 to HttpClient 5 On Fri, 2018-10-19 at 21:07

RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-20 Thread Joan Balagueró
method). Thanks, Joan. -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: sábado, 20 de octubre de 2018 18:17 Para: HttpClient User Discussion Asunto: Re: Migration from Async 4.1.3 to HttpClient 5 On Fri, 2018-10-19 at 21:07 +0200, Joan Balagueró wrote: > H

RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-19 Thread Joan Balagueró
? Thanks, Joan. -Mensaje original- De: Oleg Kalnichevski [mailto:ol...@apache.org] Enviado el: viernes, 19 de octubre de 2018 18:22 Para: HttpClient User Discussion Asunto: Re: Migration from Async 4.1.3 to HttpClient 5 On Fri, 2018-10-19 at 18:01 +0200, Joan Balagueró wrote: > Hi O

Re: Migration from Async 4.1.3 to HttpClient 5

2018-10-19 Thread Oleg Kalnichevski
On Fri, 2018-10-19 at 18:01 +0200, Joan Balagueró wrote: > Hi Oleg, > > Thanks a lot for all your answers. I'll work on this a bit more. > > There is just one problematic thing for us. Our app is an api > gateway, and one important piece is the response timeouts between our > app and the client

RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-19 Thread Joan Balagueró
to HttpClient 5 On Fri, 2018-10-19 at 15:08 +0200, Joan Balagueró wrote: > Hello, > > > > We are in the process of migrating to HttpClient5 from > AsyncClient4.1.3, and we have some quiestions: > > > > 1. this.rc = > RequestConfig.custom

Re: Migration from Async 4.1.3 to HttpClient 5

2018-10-19 Thread Oleg Kalnichevski
On Fri, 2018-10-19 at 15:08 +0200, Joan Balagueró wrote: > Hello, > > > > We are in the process of migrating to HttpClient5 from > AsyncClient4.1.3, and > we have some quiestions: > > > > 1. this.rc = > RequestConfig.custom().setAuthenticationEnabled(false). > > >

Migration from Async 4.1.3 to HttpClient 5

2018-10-19 Thread Joan Balagueró
Hello, We are in the process of migrating to HttpClient5 from AsyncClient4.1.3, and we have some quiestions: 1. this.rc = RequestConfig.custom().setAuthenticationEnabled(false). setConnectionRequestTimeout(Timeout.ofMillis(this.poolTimeout)).

Re: How to use HPACK with HttpClient 5

2018-08-23 Thread Oleg Kalnichevski
On Wed, 2018-08-22 at 16:57 +0200, Jack van Ooststroom wrote: > Hello, > > We started using HttpClient 5 in order for us to communicate with  > Apple's APNs service which requires the usage of HTTP/2. However, we > are  > currently running into an issue with the "a

How to use HPACK with HttpClient 5

2018-08-22 Thread Jack van Ooststroom
Hello, We started using HttpClient 5 in order for us to communicate with Apple's APNs service which requires the usage of HTTP/2. However, we are currently running into an issue with the "apns-collapse-id" header. According to the specification (https://developer.apple.com/libra

Re: HttpClient 5

2018-04-06 Thread Oleg Kalnichevski
On Thu, 2018-04-05 at 14:25 +, Mark A. Claassen wrote: > Thanks, that was what I was looking for.  However, a few things... > First, it seems the arguments have changed a bit since that was > written. > > I fixed this by creating a HttpContext with : HttpContext context = >

RE: HttpClient 5

2018-04-05 Thread Mark A. Claassen
5, 2018 2:45 AM To: HttpClient User Discussion <httpclient-users@hc.apache.org> Subject: Re: HttpClient 5 On Wed, 2018-04-04 at 21:01 +, Mark A. Claassen wrote: > I am finally getting chance to start with HttpClient 5 and HTTP/2.  I > am currently using 4.4. > > I am first tr

Re: HttpClient 5

2018-04-05 Thread Oleg Kalnichevski
On Wed, 2018-04-04 at 21:01 +, Mark A. Claassen wrote: > I am finally getting chance to start with HttpClient 5 and HTTP/2.  I > am currently using 4.4. > > I am first trying to do a relatively simple port, meaning that I am > trying to keep as much of the existing code as I

HttpClient 5

2018-04-04 Thread Mark A. Claassen
I am finally getting chance to start with HttpClient 5 and HTTP/2. I am currently using 4.4. I am first trying to do a relatively simple port, meaning that I am trying to keep as much of the existing code as I can. I already have an internal API that reads the entity objects from

Re: logging using log4j with httpclient 5 beta ?

2018-03-28 Thread Oleg Kalnichevski
On Tue, 2018-03-27 at 17:20 +0200, Rémy Amouroux wrote: > Hi All > > I’m trying to use httpclient 5 beta to discuss to a http2 server > through a proxy. > > For the moment, my log4j configuration includes > > log4j.logger.org.apache.hc.client5.http=DEBUG > log4j.l