Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MiniTLS-GPL by
Revision 5:95f70ebfe61f, committed 2015-02-06
- Comitter:
- shiyilei
- Date:
- Fri Feb 06 06:17:33 2015 +0000
- Parent:
- 4:cbaf466d717d
- Commit message:
- change some parameters in the library to meet the needs of httpbin.org
Changed in this revision
cpp/TLSSocket.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/cpp/TLSSocket.h Tue Jun 10 14:23:09 2014 +0000 +++ b/cpp/TLSSocket.h Fri Feb 06 06:17:33 2015 +0000 @@ -33,7 +33,7 @@ #include "tls/tls_socket.h" -#define TLSSOCKET_BUF_SIZE 5000//804 +#define TLSSOCKET_BUF_SIZE 5420//804 /** TLS Socket * \param pMiniTLS pointer to MiniTLS instance @@ -55,7 +55,7 @@ minitls_err_t close(); private: - uint8_t m_writeBuf[TLSSOCKET_BUF_SIZE]; + uint8_t m_writeBuf[500]; uint8_t m_readBuf[TLSSOCKET_BUF_SIZE]; tls_socket_t m_sock;