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.
Dependencies: CyaSSL
Fork of HTTPClient-SSL by
Revision 32:d9db238bb8a3, committed 2014-08-28
- Comitter:
- ansond
- Date:
- Thu Aug 28 00:07:09 2014 +0000
- Parent:
- 31:0675a342e45c
- Commit message:
- increased send buffer to 1024
Changed in this revision
| HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.cpp Wed Aug 27 21:19:58 2014 +0000
+++ b/HTTPClient.cpp Thu Aug 28 00:07:09 2014 +0000
@@ -57,9 +57,9 @@
static TCPSocketConnection m_sock;
#define CHUNK_SIZE 256
-#define SEND_BUF_SIZE 512
+#define SEND_BUF_SIZE 1024
static char send_buf[SEND_BUF_SIZE] ;
-static char *send_buf_p ;
+static char *send_buf_p = NULL;
static int SocketReceive(CYASSL* ssl, char *buf, int sz, void *ctx)
{
