There is a small test program here:
http://oscomp.hu/depot/testhttps.pasIt can be used like this:
fpc testhttps.pas
testhttps https://youtube.com youtube.html
This works under Linux, FreeBSD and Solaris, but fails under OpenBSD with the following error message:
Exception: ESocketError: Host name resolution for "youtube.com" failed.
GET failed. Response code: 0
Here is a screenshot too:
http://oscomp.hu/depot/VirtualBox_OpenBSD64_10_11_2020_17_05_04.pngI've found this very similar topic, but despite the marker, the problem was not solved in there at all, only workarounds have been introduced. I already have my own workaround, so i would like to know if this can be solved, or this is a bug in FPC and can only be worked around.