Fork of HttpServer_snapshot_mbed-os library

Fork of HttpServer_snapshot_mbed-os by Renesas

Revision:
16:13f082bef9a9
Parent:
15:371fbad587ed
--- a/HTTPServer.h	Fri Jun 23 11:34:54 2017 +0000
+++ b/HTTPServer.h	Sat Sep 30 08:36:29 2017 +0000
@@ -6,6 +6,7 @@
 #ifdef _DEBUG_ALL
 #include <stdio.h>
 #include <stdarg.h>
+Serial pc(USBTX, USBRX);
 static inline void http_server_debug_print(const char *format, ...) {
     va_list args;
     va_start(args, format);
@@ -201,6 +202,7 @@
 
     for (;;) {
         http_server_debug_print("**Start Loop** \r\n");
+        pc.printf("Sta\n");
         if (t >= 0) {
             if(server.accept(&clients[t])==0) {
                 // fork child process
@@ -227,6 +229,7 @@
             } else {
                 Thread::wait(10);
             }
+            pc.printf("end\n");
         }
 
         t = -1;