RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-20 Thread Joan Balagueró
Ok, I understand whtat you mean. Since this is a non-blocking model when we send the request the thread is released, so I simply have to count the time passed from I send the response until the 'responseReceived' method is invoked, and if this time has been exceeded just throw an exception (and

RE: Migration from Async 4.1.3 to HttpClient 5

2018-10-20 Thread Joan Balagueró
Hi Oleg, I must admit I do not understand the reason for doing all that in the first place. --> It doesn't matter, it's important for B2B integrations in tourism sector, but that's another story. I also do not understand what exactly you mean by response timeout. Max waiting time until a