Re: Regarding HTTP2 support for classic 5.x httpclient

2022-11-19 Thread Oleg Kalnichevski
On Fri, 2022-11-18 at 13:45 +0530, sreenivas somavarapu wrote: > Hi Oleg, > > Thank you for your reply and conformation. > > I was looking at async APIs on how to achieve both HTTP 1.x and HTTP > 2 > support using same HttpAsyncClients builder but initial glance at > APIs > looks like it is not

Re: Regarding HTTP2 support for classic 5.x httpclient

2022-11-19 Thread sreenivas somavarapu
Hi Oleg, Yes if actual server doesn't support the request should fail. As conveyed earlier I am trying simple reverse proxy application for which requirement is end to end flow should use same protocol. My application gets request from users and my application should make sure that same protocol

Re: Regarding HTTP2 support for classic 5.x httpclient

2022-11-19 Thread sreenivas somavarapu
Hi Oleg, How can we force to use a different protocols for different requests using same httpclient object is what I am looking for until now but was unscuccessful in finding any examples or achieving it using async httpclient implementation. Input request is not in my control. It could be from

Re: Regarding HTTP2 support for classic 5.x httpclient

2022-11-19 Thread sreenivas somavarapu
Hi Oleg, Thank you for your reply. My simple use case is I want to control on which channel / protocol (HTTP 1.x or HTTP 2) the requests should use using async httpclient api implementation irrespective of backend server enablement of that respective protocol. Is there a way to achieve this

Re: Regarding HTTP2 support for classic 5.x httpclient

2022-11-19 Thread Oleg Kalnichevski
On Sat, 2022-11-19 at 23:10 +0530, sreenivas somavarapu wrote: > Hi Oleg, > > Thank you for your reply.  > > My simple use case is I want to control on which channel / protocol > (HTTP 1.x or HTTP 2) the requests should use using async httpclient > api implementation irrespective of backend

Re: Regarding HTTP2 support for classic 5.x httpclient

2022-11-19 Thread Oleg Kalnichevski
On Sat, 2022-11-19 at 23:22 +0530, sreenivas somavarapu wrote: > Hi Oleg, > > Yes if actual server doesn't support the request should fail. As > conveyed > earlier I am trying simple reverse proxy application for which > requirement > is end to end flow should use same protocol. My application

Re: Regarding HTTP2 support for classic 5.x httpclient

2022-11-19 Thread Oleg Kalnichevski
On Sat, 2022-11-19 at 23:53 +0530, sreenivas somavarapu wrote: > Hi Oleg, > > How can we force to use a different protocols for different requests > using > same httpclient object is what I am looking for until now but was > unscuccessful in finding any examples or achieving it using async >