Lazarus

Programming => Networking and Web Programming => Topic started by: d.ioannidis on May 16, 2018, 05:49:36 pm

Title: [SOLVED] TInetSocket connect timeout patch.
Post 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,
Title: Re: TInetSocket connect timeout patch.
Post by: d.ioannidis on June 09, 2018, 09:19:51 pm
Hi all,

  FYI, the patch is accepted in trunk rev: 39199.
Title: Re: [SOLVED] TInetSocket connect timeout patch.
Post by: engkin on June 09, 2018, 09:37:25 pm
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.
Title: Re: [SOLVED] TInetSocket connect timeout patch.
Post by: d.ioannidis on June 09, 2018, 09:48:27 pm
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,
Title: Re: [SOLVED] TInetSocket connect timeout patch.
Post by: engkin on June 09, 2018, 10:21:36 pm
And it got fixed.  :D
Title: Re: [SOLVED] TInetSocket connect timeout patch.
Post by: Thaddy on June 09, 2018, 10:26:47 pm
Yup! :)
TinyPortal © 2005-2018