Hurl2.0 - Error initializing cURL!

Report any Hollywood bugs here
User avatar
fingus
Posts: 274
Joined: Fri Sep 16, 2011 9:53 am

Re: Hurl2.0 - Error initializing cURL!

Post by fingus »

So the Problem still remains on AmigaOS3.2.
User avatar
jPV
Posts: 759
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: Hurl2.0 - Error initializing cURL!

Post by jPV »

The ?LoadPlugin("hurl") work-around doesn't work on it?
User avatar
airsoftsoftwair
Posts: 6019
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hurl2.0 - Error initializing cURL!

Post by airsoftsoftwair »

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.
Yes, that sounds like a good workaround.
User avatar
airsoftsoftwair
Posts: 6019
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hurl2.0 - Error initializing cURL!

Post by airsoftsoftwair »

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 
Post Reply