Lazarus
Programming => Networking and Web Programming => Topic started by: d.ioannidis on May 16, 2018, 05:49:36 pm
-
Hi,
I created a patch against fpc trunk for the TInetSocket which is used from TFPHTTTPClient to add support for timeout during connect. Also there is a patch for the TFPHTTPClient to use this functionality.
The patches are in the bug tracker issue 33745 TInetSocket connect timeout (https://bugs.freepascal.org/view.php?id=33745).
Tested in Windows 10 and Debian 9 both x86_64.
As I didn't do any testing with 32 bit Windows/Linux or at all in FreeBSD, I'll appreciate any help to see if there is any problem or side effects on those platforms and inform me here.
Best regards,
-
Hi all,
FYI, the patch is accepted in trunk rev: 39199.
-
Thank you for the patch and the bug report.
It seems that Michael forgot to remove unit math from the uses section. I can not write a note regarding that as he marked it "resolved", I believe you should be able to change the status and/or leave a note.
Thank you again.
-
Hi,
It seems that Michael forgot to remove unit math from the uses section. I can not write a note regarding that as he marked it "resolved", I believe you should be able to change the status and/or leave a note.
I already send him an email. I hadn't thought to use the tracker .... :(
[EDIT]: I updated the tracker also ...
regards,
-
And it got fixed. :D
-
Yup! :)