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.
Dependents: df-2013-thermostat-handson df-2013-minihack-thermostat-complete df-2013-minihack-thermostat df-2013-thermostat-remotes ... more
Revision 12:8fe60d9ca3bf, committed 2013-11-10
- Comitter:
- ansond
- Date:
- Sun Nov 10 02:17:45 2013 +0000
- Parent:
- 11:b32005b69b5c
- Commit message:
- updates
Changed in this revision
SocketIO.cpp | Show annotated file Show diff for this revision Revisions of this file |
SocketIO.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r b32005b69b5c -r 8fe60d9ca3bf SocketIO.cpp --- a/SocketIO.cpp Fri Nov 08 20:10:26 2013 +0000 +++ b/SocketIO.cpp Sun Nov 10 02:17:45 2013 +0000 @@ -176,6 +176,7 @@ bool haveKey = false; HTTPClient http; char response[513]; + memset(response,'\0',513); // make sure we have buffers if (this->session_key != NULL && this->ws_channel != NULL) {
diff -r b32005b69b5c -r 8fe60d9ca3bf SocketIO.h --- a/SocketIO.h Fri Nov 08 20:10:26 2013 +0000 +++ b/SocketIO.h Sun Nov 10 02:17:45 2013 +0000 @@ -37,7 +37,7 @@ #define DEFAULT_VERSION 1 // Default SocketIO message length (suggestion only...) -#define SOCKETIO_MESSAGE_LENGTH 256 +#define SOCKETIO_MESSAGE_LENGTH 512 // HTTP support for session key retrieval #include "HTTPClient.h"