aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-09-11 15:21:51 +0000
committerlloyd <[email protected]>2012-09-11 15:21:51 +0000
commitd41b0b92372d57cbd47b95b1bcbb022a47d0f01b (patch)
treee39482b047710ecf14cc4df3d4c795e90f20adfc /doc/examples
parent7604a4db0b6540b41223d072d91e2ff9e0bdb035 (diff)
This buffer size does not need to match TLS
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/asio_tls_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/asio_tls_server.cpp b/doc/examples/asio_tls_server.cpp
index 28f499efe..d7d49c0e0 100644
--- a/doc/examples/asio_tls_server.cpp
+++ b/doc/examples/asio_tls_server.cpp
@@ -177,7 +177,7 @@ class tls_server_session : public boost::enable_shared_from_this<tls_server_sess
Botan::TLS::Server m_tls;
std::string m_hostname;
- unsigned char m_read_buf[Botan::TLS::MAX_TLS_RECORD_SIZE];
+ unsigned char m_read_buf[1024];
// used to hold the data currently being written by the system
std::vector<byte> m_write_buf;