1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/lib/tls
Andrew Bartlett d0d05f8474 s4-lib/tls: Try socket_send() multiple times to send partial packets
This works around an artificial limitation in socket_wrapper that breaks
some versions of GnuTLS when we return a short write.

Instead, keep pushing until the OS will not take it.

The correct solution will be to use tls_tstream, but the client code
for this is not yet tested and needs the ldap client layer changed
to use it.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jul 18 11:23:55 CEST 2012 on sn-devel-104
2012-07-18 11:23:55 +02:00
..
tls_tstream.c s4:lib/tls - include GNUTLS headers consistently using <...> 2012-02-18 00:43:58 +01:00
tls.c s4-lib/tls: Try socket_send() multiple times to send partial packets 2012-07-18 11:23:55 +02:00
tls.h s4-lib/tls: remove unused tls_support() 2012-02-10 16:45:12 +11:00
tlscert.c s4:lib/tls - include GNUTLS headers consistently using <...> 2012-02-18 00:43:58 +01:00
wscript build: provide tevent-util as a public library 2011-08-08 13:34:06 +02:00