cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: vtls, "virtual" TLS

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Thu, 19 Dec 2013 10:42:58 +0100

 
Daniel Stenberg wrote:

>> My 2 cents: can have generic tls and related in vtls, and each
>> different connector in a separate subdir of vtls...

> Really? How would that improve things exactly? Is that just your
personal preference or do you have a technical reason for it?

Well, I don't have particular preferences, but I suppose the goal of
this new sub-directory is to introduce some "structure" in sources (and
of course, make the lib dir shorter!), so why stopping at a single
level? The advantages to have a subdir of vtls for each connector would
be:
- Some more structure,
- Ability to have a specific Makefile for each connector,
- Split a big TLS handler source into several files, without any name
clash,
- Knowing exactly the connector a file pertains to, without having to
look in it,
- etc.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-19