From 0937d977a5262917cca3be6c2316ed68b092a31f Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 4 Jan 2012 20:52:06 +0000 Subject: Have Record_Writer use a single persistent buffer for outbound traffic. --- src/tls/tls_record.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tls/tls_record.h') diff --git a/src/tls/tls_record.h b/src/tls/tls_record.h index 719bf6b43..69ca1b9bc 100644 --- a/src/tls/tls_record.h +++ b/src/tls/tls_record.h @@ -1,6 +1,6 @@ /* * TLS Record Handling -* (C) 2004-2010 Jack Lloyd +* (C) 2004-2012 Jack Lloyd * * Released under the terms of the Botan license */ @@ -63,6 +63,8 @@ class BOTAN_DLL Record_Writer std::tr1::function m_output_fn; + MemoryVector m_writebuf; + Pipe m_cipher; MessageAuthenticationCode* m_mac; -- cgit v1.2.3