From a42ccab929766702029f624f5cc18bc034889c29 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 18 Nov 2010 10:35:06 +0300 Subject: tls_tstream: increase the buffer size The problem is that with certain version of gnutls are not working properly if the server is sending in different packet things like (at least) * Certificate * Server Key exchange * Client certificate Somehow it really expect this to be done in one packet as some structures used _gnutls_send_handshake are reinitialized at every packet exchange and intermediate steps didn't expect it Signed-off-by: Stefan Metzmacher --- source4/lib/tls/tls_tstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') diff --git a/source4/lib/tls/tls_tstream.c b/source4/lib/tls/tls_tstream.c index 8e80454d57..4086fd96a5 100644 --- a/source4/lib/tls/tls_tstream.c +++ b/source4/lib/tls/tls_tstream.c @@ -50,7 +50,7 @@ struct tstream_tls { struct tevent_immediate *retry_im; struct { - uint8_t buffer[1024]; + uint8_t buffer[4096]; off_t ofs; struct iovec iov; struct tevent_req *subreq; -- cgit