[PATCH] split out starttls

Andrew Bartlett abartlet at samba.org
Wed Jul 26 02:06:56 GMT 2006


On Tue, 2006-07-25 at 20:22 -0400, simo wrote:
> On Wed, 2006-07-26 at 10:10 +1000, Andrew Bartlett wrote:

> > BTW, we should now be in a very good position to have the LDAP server
> > side do async writes to the LDAP socket, when data becomes available.
> > (But we should do some buffering, do avoid doing a TCP send and SASL
> > encrypt for every entry).
> 
> I would do the async stuff first and then when we are all set and the
> thing works, add a caching layer if needed.

Actually, on reflection, it's quite easy to do.  We just need to put a
bit more smarts in the packet layer:  It should attempt to send all the
outstanding packets in one write.  That will do the 'right thing', as
various other parts underneath can break up the packets.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060726/ee7cd834/attachment.bin


More information about the samba-technical mailing list