[PATCH] split out starttls

Stefan (metze) Metzmacher metze at samba.org
Wed Jul 26 10:49:13 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tridge at samba.org schrieb:
> Metze,
> 
>  > maybe we should thing about adding
>  > a writev() hook to the socket layer,
>  > so that we avoid the memcopy to one large DATA_BLOB.
>  > 
>  > But I'm not sure what systems have this calls...
> 
> It might be easier just to do a TCP_CORK setsockopt() call if we have
> more than one packet, then clear the TCP_CORK when we've done them
> all. Should be easier to code, and fast on the wire.

but this add 2 extra syscalls, and with writev() we'll endup with an
less or equal amount of syscalls.

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEx0ipm70gjA5TCD8RAtGqAKCbftels+mbZ2vElu0u8cYIPmDTygCdFU0R
gc/8+sppasBIF6JWTQCy1N4=
=KrGn
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list