Single instance HTTP Server using new Ethernet Interface. Blocking mode only; this improved stability, but the HTTP server must be started from a separate thread.

Dependents:   SmartLight

Fork of HTTPServer by Henry Leinen

Files at this revision

API Documentation at this revision

Comitter:
leihen
Date:
Sat Jun 01 18:00:18 2013 +0000
Parent:
7:cb7fec1265b5
Child:
10:cbde7929db7f
Commit message:
Disabled Debug Switch.

Changed in this revision

HTTPRequestHandler.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HTTPRequestHandler.cpp	Sat Jun 01 17:47:45 2013 +0000
+++ b/HTTPRequestHandler.cpp	Sat Jun 01 18:00:18 2013 +0000
@@ -2,7 +2,7 @@
 #include "mbed.h"
 #include "HTTPRequestHandler.h"
 
-#define _DEBUG 0
+#define _DEBUG 1
 
 #if (_DEBUG && !defined(TARGET_LPC11U24))
 #define INFO(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);