cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] OpenLDAP support

From: Howard Chu <hyc_at_highlandsun.com>
Date: Tue, 11 May 2010 18:56:39 -0700

Howard Chu wrote:
> Howard Chu wrote:
>> Howard Chu wrote:
>>> Forgot to enable SSL in the previous patch. This uses whatever SSL support was
>>> built into libldap. The other possibility is to install a custom set of I/O
>>> routines into the LDAP session and point them at libcurl's SSL functions
>>> instead. (Hurray for modular I/O ... ;)
>>
>> I decided to take the latter route; it eliminates all the copying of libcurl's
>> SSL options into libldap so it will require less ongoing maintenance.
>
> One last tweak before I quit spamming the list - figured out that I actually
> needed to provide a done handler.
>
> Also notice that going this route means you don't need a separate check for
> ldaps support.

Here's the corresponding fix to the previous patch, for the send/recv fix.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-05-12