Hurl2.0 - Error initializing cURL!
Re: Hurl2.0 - Error initializing cURL!
So the Problem still remains on AmigaOS3.2.
Re: Hurl2.0 - Error initializing cURL!
The ?LoadPlugin("hurl") work-around doesn't work on it?
- airsoftsoftwair
- Posts: 6019
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Hurl2.0 - Error initializing cURL!
Yes, that sounds like a good workaround.jPV wrote: ↑Mon Mar 04, 2024 9:51 am BTW. now I remember that I don't @REQUIRE the hURL plugin in most of my programs, I just load it later or on-demand with LoadPlugin() and handle errors if that fails (#ERR_PLUGINDOUBLET too). In this way programs can work without a (online) TCP/IP stack.
- airsoftsoftwair
- Posts: 6019
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Hurl2.0 - Error initializing cURL!
Well, after some thinking I'm of the opinion that it makes sense to change the behaviour so that hURL won't try to open bsdsocket.library and AmiSSL before it is actually used. So @REQUIRE "hURL" shouldn't fail any longer on systems without bsdsocket/AmiSSL.
Code: Select all
- Change [Amiga]: The Amiga version will not try to open bsdsocket.library and AmiSSL on @REQUIRE any
longer; this initialization will only be done now once a script actually tries to use a hURL function;
this allows you to write scripts which run on systems without bsdsocket.library or AmiSSL too even
though they have a @REQUIRE "hurl" statement in the preprocessor commands