[fpc-pascal] fphttclient, no way to specify a connect timeout

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Sat Feb 24 10:19:04 CET 2018


Hi,

On 2018-02-24 03:42, Luca Olivetti wrote:
> El 23/02/18 a les 22:57, Dimitrios Chr. Ioannidis via fpc-pascal ha 
> escrit:
>> Hi
>> 
>> Στις 23/2/2018 11:14 μμ, ο Luca Olivetti έγραψε:
<snip>
>> The TFPCustomHTTPClient calls TInetSocket.Create constructor which it 
>> calls the inherited constructor from TSocketStream.
> 
> Which, since TFPHttpClient assigns a socket handler in G, it won't call 
> connect.
> So the timeout set above is really done before the connect call.

OK. I got it. Point taken.

You don't want to try to see if it works. Instead we exchange 
unnecessary emails.

My bad. Apologies for pushing you.


regards,

PS: I'm sure Michael at least he'll take a look.

-- 
Dimitrios Chr. Ioannidis



More information about the fpc-pascal mailing list