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: NySNICInterface mbed-rtos mbed
Fork of RESTServerSample by
Revision 8:babc71c8c498, committed 2015-02-15
- Comitter:
- yi
- Date:
- Sun Feb 15 06:12:58 2015 +0000
- Parent:
- 7:bdd579baaa91
- Child:
- 9:01aa69185ed8
- Commit message:
- fixed
Changed in this revision
| HTTPServer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPServer.cpp Sun Feb 15 05:12:27 2015 +0000
+++ b/HTTPServer.cpp Sun Feb 15 06:12:58 2015 +0000
@@ -66,12 +66,12 @@
else if(n != -1)
{
buffer[n] = '\0';
- printf("Received data -- %s --. \r\n", buffer);
+ //printf("Received data -- %s --. \r\n", buffer);
handle_request(buffer);
create_response(buffer);
- printf("Sending data -- %s --. \r\n", buffer);
+ //printf("Sending data -- %s --. \r\n", buffer);
c.send_all(buffer, strlen(buffer));
- printf("done. \r\n");
+ //printf("done. \r\n");
c.close();
break;
}
