[Gambas-user] HTTPClient freeze after 40 mins with Gambas 3.18.4

Benoît Minisini benoit.minisini at gambas-basic.org
Thu Sep 28 17:25:10 CEST 2023


Le 28/09/2023 à 17:23, Benoît Minisini a écrit :
> Le 28/09/2023 à 17:11, Benoît Minisini a écrit :
>> Le 28/09/2023 à 17:02, Christof Thalhofer a écrit :
>>> Am 27.09.23 um 14:03 schrieb Christof Thalhofer:
>>>
>>>> -------------------------------------------------------
>>>> And after 40 mins this happens reliably:
>>>> -------------------------------------------------------
>>>>
>>>> * getaddrinfo() thread failed to start
>>>>
>>>> * Couldn't resolve host 'degapp'
>>>> * Closing connection 0
>>>
>>> I guess it has something to do with these changes, because with 
>>> Gambas 3.18.2 my application runs forever without any problem:
>>
>> Logically it should, but why does reusing the handle (as it should be 
>> done according to the curl documentation) create a freeze 40 minutes 
>> later? And why 40 minutes?
>>
> 
> Normally, you should get the old behaviour if you recreate a new 
> HttpClient object each time you make a request.
> 
> Regards,
> 

Another point: can you count exactly how many requests you run before it 
freezes?

Regards,

-- 
Benoît Minisini.



More information about the User mailing list