develooper Front page | perl.perl5.porters | Postings from December 2021

Re: OpenSSL alternative support WAS Re: Pre-RFC: supporthttpsout-of-the-box

Thread Previous | Thread Next
Craig A. Berry
December 10, 2021 21:31
Re: OpenSSL alternative support WAS Re: Pre-RFC: supporthttpsout-of-the-box
Message ID:
On Fri, Dec 10, 2021 at 12:51 PM Nicholas Clark <> wrote:
> On Fri, Dec 10, 2021 at 10:40:05AM -0600, Craig A. Berry wrote:

> > I like the urlmon solution since it doesn't even involve spawning an
> > external command, but Win32::API is not in core, is it?  So bitsadmin
> > might be the simplest and most reliable solution.
> Assuming Microsoft's online fine manuals are accurate, bitsadmin is only
> Windows 10 or later, whereas urlmon is XP or later.
> I don't think that bundling Win32::API is a great idea, but a minimal XS
> module to wrap what we need does feel like a win here. There doesn't seem
> to be one on CPAN (yet).

The functions in here:

seem to consist mostly of random things people needed to bootstrap
other things.  Arguably we now need a Win32::URLDownloadToFile() to
bootstrap something.  Or maybe Win32::InternetReadFile()[1]. If it's
killing a sacred cow to put something else in Win32.xs, someone should
speak up.

> Not only am I not competent to write such a thing, I can't even volunteer
> to have a go at something like "Markov chains and a regression test", as
> I don't have access to anything Win32 to try it out.

Damn.  I have access so I have no excuses :-).  Well, other than only
ever having dealt with the Win32 API in Visual Basic, and that a very
long time ago.  Let me see how much trouble I can get myself into.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About