Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   THTTPClient macOS crash wenn ich einen Proxy setze (https://www.delphipraxis.net/212260-thttpclient-macos-crash-wenn-ich-einen-proxy-setze.html)

softtouch 14. Jan 2023 11:23

THTTPClient macOS crash wenn ich einen Proxy setze
 
Liste der Anhänge anzeigen (Anzahl: 1)
Wenn ich einen Proxy setze mit:

Delphi-Quellcode:
h:=THTTPClient.Create;
h.ProxySettings.Create(<IP>,<PORT>,<USER>,<PASS>);
h.Get(<URL>);
h.Free;
dann wird eine Exception "Project xxx raised exception class 6" ausgelöst, und zwar in System.Net.HTTPClient.Mac in der Funktion im angehängten Bild.

Als ich es mit Delphi 11 getestet hatte, gabs kein Problem. Nun mit 11.2 immer dieser crash. Was mache ich falsch?


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:15 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz