On 29/04/2017 11:53, Jon Turney wrote: > On 28/04/2017 16:33, Åke Rehnman wrote: >> On 2017-04-28 14:12, Jon Turney wrote: >>> From the discussion in [1], I was somewhat surprised to learn >>> that setup doesn't support https or ftps. >> For the same exact reason I've just recently patched in curl.... > > I'd be very interested to see that patch :) Thanks very much for the patch. So... I'm in two minds about this. Your patch seems good, but perhaps the problems with using wininet aren't insurmountable, and avoiding another dependency would also be good. Anyhow, I had another go the wininet patch, attached. I guess you have some use case for this, so perhaps you could give it a try and see if it works for you?