TFPHTTPClient.Get fails under OpenBSD lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- TCH · 2020-11-10 16:24 There is a small test program here: http://oscomp.hu/depot/testhttps.pas It can be used like this:Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i fpc testhttps.pastesthttps https://youtube.com youtube.htmlThis works under Linux, FreeBSD and Solaris, but fails under OpenBSD with the following error message:Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Exception: ESocketError: Host name resolution for "youtube.com" failed.GET failed. Response code: 0Here is a screenshot too: http://oscomp.hu/depot/VirtualBox_OpenBSD64_10_11_2020_17_05_04.png I'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.